summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-07-25 23:58:21 -0400
committerJason Wray <jason@mapbox.com>2017-07-26 15:49:23 -0400
commit82c2d4b3ca76c6b73564cd96d93ebd39969eb820 (patch)
treef0047703a6f8af0ec797cfbff8362d8b97ebd28c
parent612a1e8377834211a273b30aff51839a219b5b73 (diff)
downloadqtlocation-mapboxgl-82c2d4b3ca76c6b73564cd96d93ebd39969eb820.tar.gz
[build] Include bcsymbolmap files in iOS dynamic framework packageupstream/fb-bcsymbolmap
-rw-r--r--platform/ios/CHANGELOG.md1
-rwxr-xr-xplatform/ios/scripts/package.sh4
2 files changed, 5 insertions, 0 deletions
diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md
index 9ebf52311f..63e6a4d398 100644
--- a/platform/ios/CHANGELOG.md
+++ b/platform/ios/CHANGELOG.md
@@ -6,6 +6,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
* Reduced the size of the dynamic framework by optimizing symbol visibility. ([#7604](https://github.com/mapbox/mapbox-gl-native/pull/7604))
* Fixed an issue where the attribution button would have its custom tint color reset when the map view received a tint color change notification, such as when an alert controller was presented. ([#9598](https://github.com/mapbox/mapbox-gl-native/pull/9598))
+* Bitcode symbol maps (.bcsymbolmap files) are now included with the dynamic framework. ([#9613](https://github.com/mapbox/mapbox-gl-native/pull/9613))
## 3.6.0 - June 29, 2017
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh
index 6222ee0f9f..a5e2f87e20 100755
--- a/platform/ios/scripts/package.sh
+++ b/platform/ios/scripts/package.sh
@@ -237,6 +237,10 @@ if [[ ${BUILD_STATIC} == true ]]; then
mkdir "${OUTPUT}/static/${NAME}.framework/Modules"
cp -pv platform/ios/framework/modulemap "${OUTPUT}/static/${NAME}.framework/Modules/module.modulemap"
fi
+if [[ ${BUILD_DYNAMIC} == true && ${BUILD_FOR_DEVICE} == true ]]; then
+ step "Copying bitcode symbol maps…"
+ find "${PRODUCTS}/${BUILDTYPE}-iphoneos" -name '*.bcsymbolmap' -type f -exec cp -pv {} "${OUTPUT}/dynamic/" \;
+fi
sed -n -e '/^## /,$p' platform/ios/CHANGELOG.md > "${OUTPUT}/CHANGELOG.md"
rm -rf /tmp/mbgl