diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-12-03 16:03:00 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-01-22 14:45:56 -0800 |
commit | 9350d3f78cee508f98bbae8d31a3a47007cb0322 (patch) | |
tree | 43d9d71c670b4a900727dcd56b59b85860b66401 /platform/ios/scripts/publish.sh | |
parent | ded8b62c916b2ad1782486ed9d1fe5049a82c512 (diff) | |
download | qtlocation-mapboxgl-9350d3f78cee508f98bbae8d31a3a47007cb0322.tar.gz |
[ios] Converted iOS SDK into dynamic framework
make iproj now produces a target that pulls together static libraries like core and platform-ios into a real dynamic framework. iosapp is pretty much just a regular iOS application that links Mapbox.framework (except for the inclusion of default_styles.hpp). iosapp runs fine in the Simulator and on a device, and the same is true for any application linking against Mapbox.framework.
The ipackage target produces both a Bitcode-disabled static framework and a Bitcode-enabled dynamic framework, eliminating the need for a separate framework.sh. It disables code signing, since that happens on copy when the framework is embedded inside the application bundle. It also merges the device and simulator builds into a single fat framework.
Also bumped itest minimum deployment target to iOS 8.0, the first version that supports linking frameworks.
Fixes #828.
Diffstat (limited to 'platform/ios/scripts/publish.sh')
-rwxr-xr-x | platform/ios/scripts/publish.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/scripts/publish.sh b/platform/ios/scripts/publish.sh index c914fcaccd..bdfbc94314 100755 --- a/platform/ios/scripts/publish.sh +++ b/platform/ios/scripts/publish.sh @@ -19,7 +19,7 @@ fi # # zip # -cd build/ios/pkg/static +cd build/ios/pkg ZIP=mapbox-ios-sdk-${PUBLISH_VERSION}${PUBLISH_STYLE}.zip rm -f ../${ZIP} zip -r ../${ZIP} * |