-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[ios] Add simulator dSYM file to build output. #5740
Conversation
@boundsj, thanks for your PR! By analyzing the annotation information on this pull request, we identified @1ec5, @incanus and @frederoni to be potential reviewers |
if [[ -e ${PRODUCTS}/${BUILDTYPE}-iphoneos/${NAME}.framework.dSYM ]]; then | ||
cp -r ${PRODUCTS}/${BUILDTYPE}-iphoneos/${NAME}.framework.dSYM \ | ||
${OUTPUT}/dynamic/ | ||
fi | ||
step "Copying simulator dSYM" | ||
if [[ -e ${PRODUCTS}/${BUILDTYPE}-iphonesimulator//${NAME}.framework.dSYM ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: //
→ /
👍 |
Instead of copying and bundling two dSYMs, we should be able to lipo/libtool the two dSYM binaries together into one Mapbox.framework.dSYM that includes all of the architectures — I’ll fiddle with this. |
52d912b
to
f18f742
Compare
So it is possible to combine the two dSYMs:
... the resulting dSYM binary filesize is also the sum of both, though. |
Pushed
|
Remember to add a blurb to the changelog. |
Our release builds for device (with lipoed simulator binary) create a dSYM files for both the device and simulator. However the script only copied the device dSYM file to the output location. This adds a step to lipo together both the device and simulator dSYM files. Mapbox.framework.dSYM now holds armv7 and arm64 slices.
7ffcaad
to
64a06dd
Compare
Our release builds for device (with lipoed simulator binary) create a dSYM files for both the device and simulator. However the script only copied the device dSYM file to the output location. This adds a step to lipo together both the device and simulator dSYM files. Mapbox.framework.dSYM now holds armv7 and arm64 slices.
Fixes #5726
Our release builds for device (with lipoed simulator binary) create a dSYM files for both the device and simulator. However the script only copied the device dSYM file to the output location.
This adds a step to create a dSYM file with all relevant architectures.
cc @1ec5 @incanus