-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
Description
When building HelloiOS application the process uses dotnet SDK and local build tasks (mainly developed for testing purposes) which do not fully prepare the application for deployment. For example, when deploying an iOS application, debug symbols need to be extracted into a separate dSYM folder/file, then stripped away from the main binary, after which the binary needs to be resigned.
In the build process, the -S parameter only strips out debug information and not the symbol table. If strip is called without parameters, it further brings down the size on disk, but the app fails at the runtime. To fix this it is required to collect all the symbols needed during runtime and passing them to the strip tool via -i -s <symbols_to_keep>.
Tasks
- Update build task in HelloiOS app to collect all symbols needed during runtime
- Update build task in HelloiOS app to strip symbols by using
-i -s <symbols_to_keep> - Preserve debug symbols by extracting them from the binary with dsymutil
- Test and integrate the update into the perf dashboard