diff options
author | Jason Wray <jason@mapbox.com> | 2018-12-03 21:53:05 -0500 |
---|---|---|
committer | Jason Wray <friedbunny@users.noreply.github.com> | 2018-12-05 12:34:39 -0500 |
commit | ffe0624d77f54e00e141b6c6f85f159a28cf0e90 (patch) | |
tree | 2e186740b6963d3b753bd175ec6a913ce6969f3d /platform | |
parent | d80d88d57bfbc8b987f229937e09e2de62c9982e (diff) | |
download | qtlocation-mapboxgl-ffe0624d77f54e00e141b6c6f85f159a28cf0e90.tar.gz |
[ios, build] Move symbol strip settings to Xcode project
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/ios.xcodeproj/project.pbxproj | 4 | ||||
-rwxr-xr-x | platform/ios/scripts/package.sh | 10 |
2 files changed, 4 insertions, 10 deletions
diff --git a/platform/ios/ios.xcodeproj/project.pbxproj b/platform/ios/ios.xcodeproj/project.pbxproj index 68e2e9c640..b2d43f502b 100644 --- a/platform/ios/ios.xcodeproj/project.pbxproj +++ b/platform/ios/ios.xcodeproj/project.pbxproj @@ -4128,6 +4128,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; CURRENT_PROJECT_VERSION = 1; DEFINES_MODULE = YES; + DEPLOYMENT_POSTPROCESSING = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; @@ -4157,6 +4158,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.Mapbox; PRODUCT_NAME = Mapbox; SKIP_INSTALL = YES; + STRIP_STYLE = "non-global"; SWIFT_VERSION = 3.0; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = "__attribute__((visibility (\"default\"))) "; @@ -4223,6 +4225,7 @@ buildSettings = { BITCODE_GENERATION_MODE = bitcode; DEFINES_MODULE = YES; + DEPLOYMENT_POSTPROCESSING = YES; HEADER_SEARCH_PATHS = ( "$(mbgl_core_INCLUDE_DIRECTORIES)", "$(mbgl_filesource_INCLUDE_DIRECTORIES)", @@ -4246,6 +4249,7 @@ PRODUCT_NAME = Mapbox; PUBLIC_HEADERS_FOLDER_PATH = Headers; SKIP_INSTALL = YES; + STRIP_STYLE = "non-global"; VERSION_INFO_PREFIX = "__attribute__((visibility (\"default\"))) "; }; name = Release; diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh index f301c6d55e..54a34bdf8f 100755 --- a/platform/ios/scripts/package.sh +++ b/platform/ios/scripts/package.sh @@ -171,16 +171,6 @@ else cp -rv platform/ios/app/Settings.bundle ${OUTPUT} fi -if [[ ${SYMBOLS} = NO ]]; then - step "Stripping symbols from binaries" - if [[ ${BUILD_STATIC} == true ]]; then - strip -Sx "${OUTPUT}/static/${NAME}.framework/${NAME}" - fi - if [[ ${BUILD_DYNAMIC} == true ]]; then - strip -Sx "${OUTPUT}/dynamic/${NAME}.framework/${NAME}" - fi -fi - function get_comparable_uuid { echo $(dwarfdump --uuid ${1} | sed -n 's/.*UUID:\([^\"]*\) .*/\1/p' | sort) } |