summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Quidet <romain.quidet.ext@mappy.com>2017-05-17 17:21:46 +0200
committerJesse Bounds <jesse@rebounds.net>2017-05-31 20:10:23 -0700
commit09459b3a42714a6a8534525c4889eeeada9e255f (patch)
tree6c8b560bedfb11806c0cbce0bff49e35dbcaf707
parentb6a4f1212cbf7454134a1e3f367d2e47db305a15 (diff)
downloadqtlocation-mapboxgl-09459b3a42714a6a8534525c4889eeeada9e255f.tar.gz
9021: Fixed static framework size by using correct llvm flags on release scheme for strip command
-rw-r--r--platform/ios/CHANGELOG.md1
-rw-r--r--platform/ios/config.cmake4
-rw-r--r--platform/ios/ios.xcodeproj/project.pbxproj2
3 files changed, 7 insertions, 0 deletions
diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md
index 7228a94649..be366b71cc 100644
--- a/platform/ios/CHANGELOG.md
+++ b/platform/ios/CHANGELOG.md
@@ -47,6 +47,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
* The error passed into `-[MGLMapViewDelegate mapViewDidFailLoadingMap:withError:]` now includes a more specific description and failure reason. ([#8418](https://github.com/mapbox/mapbox-gl-native/pull/8418))
* Improved CPU and battery performance while animating a tilted map’s camera in an area with many labels. ([#9031](https://github.com/mapbox/mapbox-gl-native/pull/9031))
* Fixed an issue rendering polylines that contain duplicate vertices. ([#8808](https://github.com/mapbox/mapbox-gl-native/pull/8808))
+* Fixed static framework size by using correct llvm flags on release scheme for strip command. ([#9021](https://github.com/mapbox/mapbox-gl-native/issues/9021))
## 3.5.4 - May 9, 2017
diff --git a/platform/ios/config.cmake b/platform/ios/config.cmake
index fdb286a6d1..074e453b6a 100644
--- a/platform/ios/config.cmake
+++ b/platform/ios/config.cmake
@@ -7,6 +7,10 @@ macro(mbgl_platform_core)
set_xcode_property(mbgl-core ENABLE_BITCODE "YES")
set_xcode_property(mbgl-core BITCODE_GENERATION_MODE bitcode)
set_xcode_property(mbgl-core ONLY_ACTIVE_ARCH $<$<CONFIG:Debug>:YES>)
+ set_xcode_property(mbgl-core GCC_SYMBOLS_PRIVATE_EXTERN $<$<CONFIG:Debug>:NO>)
+ set_xcode_property(mbgl-core GCC_GENERATE_DEBUGGING_SYMBOLS $<$<CONFIG:Debug>:YES>)
+ set_xcode_property(mbgl-core GCC_SYMBOLS_PRIVATE_EXTERN $<$<CONFIG:Release>:YES>)
+ set_xcode_property(mbgl-core GCC_GENERATE_DEBUGGING_SYMBOLS $<$<CONFIG:Release>:NO>)
target_sources(mbgl-core
# Loop
diff --git a/platform/ios/ios.xcodeproj/project.pbxproj b/platform/ios/ios.xcodeproj/project.pbxproj
index b6d422d0fc..0a83efc48a 100644
--- a/platform/ios/ios.xcodeproj/project.pbxproj
+++ b/platform/ios/ios.xcodeproj/project.pbxproj
@@ -2837,6 +2837,8 @@
baseConfigurationReference = 55D8C9941D0F133500F42F10 /* config.xcconfig */;
buildSettings = {
BITCODE_GENERATION_MODE = bitcode;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ GCC_SYMBOLS_PRIVATE_EXTERN = YES;
HEADER_SEARCH_PATHS = (
"$(mbgl_core_INCLUDE_DIRECTORIES)",
"$(polylabel_INCLUDE_DIRECTORIES)",