summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-07-09 12:05:21 -0400
committerJason Wray <friedbunny@users.noreply.github.com>2018-07-09 12:31:43 -0400
commit37e680c66b99b28d9fae9e15a1690a94760cb3a9 (patch)
treeb46383b47e24f469e56d7d070e148f27615cf6cd
parent8817f05699e6fd909f990727990c673feb2ea940 (diff)
downloadqtlocation-mapboxgl-37e680c66b99b28d9fae9e15a1690a94760cb3a9.tar.gz
[ios, build] Strip symbols before recording size metrics
-rwxr-xr-xplatform/ios/scripts/metrics.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/ios/scripts/metrics.sh b/platform/ios/scripts/metrics.sh
index a76290c3da..d099520762 100755
--- a/platform/ios/scripts/metrics.sh
+++ b/platform/ios/scripts/metrics.sh
@@ -4,7 +4,8 @@ set -e
set -o pipefail
# Generate stripped versions for every architecture
-xcrun bitcode_strip build/ios/pkg/dynamic/Mapbox.framework/Mapbox -r -o build/ios/pkg/dynamic/Mapbox-stripped
+xcrun bitcode_strip build/ios/pkg/dynamic/Mapbox.framework/Mapbox -r -o build/ios/pkg/dynamic/Mapbox-stripped
+strip -Sx build/ios/pkg/dynamic/Mapbox-stripped
lipo build/ios/pkg/dynamic/Mapbox-stripped -extract armv7 -output build/ios/pkg/dynamic/Mapbox-stripped-armv7
lipo build/ios/pkg/dynamic/Mapbox-stripped -extract arm64 -output build/ios/pkg/dynamic/Mapbox-stripped-arm64
lipo build/ios/pkg/dynamic/Mapbox-stripped -extract x86_64 -output build/ios/pkg/dynamic/Mapbox-stripped-x86_64