summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/ios/ios.xcodeproj/project.pbxproj4
-rwxr-xr-xplatform/ios/scripts/package.sh10
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)
}