Repository navigation
Include debug symbol in xcframework when building iOS-framework - #80065
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
jmagman
left a comment
There was a problem hiding this comment.
This needs tests. Unfortunately this file is essentially un-unit tested, but pretty easy to add to the integration test https://github.com/flutter/flutter/blob/master/dev/devicelab/bin/tasks/build_ios_framework_module_test.dart
| defaultsTo: true, | ||
| hide: !verboseHelp, | ||
| ) | ||
| ..addFlag('include-dsym', |
There was a problem hiding this comment.
Is there any reason to not include it? I'd rather just include it instead of an undiscoverable flag and let Xcode filter it as needed on the embedding side.
There was a problem hiding this comment.
Actually, I'm not sure if Flutter team intended to exclude dSYM or not, so I added flag just in case, I'm going to remove it.
|
Ok |
|
@jmagman I have added more check to the integration test. For So, I tested by checking if directory |
jmagman
left a comment
There was a problem hiding this comment.
I commented about a few minor nits, and the analyzer warning.
Once those are fixed, this looks good! Thank you for working on it!
|
This pull request is not suitable for automatic merging in its current state.
|
|
Hello, Looking forward to reply,thank you. flutter doctor |
|
@itlwy I'm using this command. $ dart .fvm/flutter_sdk/packages/flutter_tools/bin/flutter_tools.dart build ios-framework --no-debug --no-profile --cocoapods |

Fix #80063 #64730
Adding
dSYMandbcsymbolmapto xcframework using-debug-symbolsflag.Pre-launch Checklist
///).