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 /ios/Mapbox-iOS-SDK.podspec | |
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 'ios/Mapbox-iOS-SDK.podspec')
-rw-r--r-- | ios/Mapbox-iOS-SDK.podspec | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ios/Mapbox-iOS-SDK.podspec b/ios/Mapbox-iOS-SDK.podspec index 052ba1447b..ec15132450 100644 --- a/ios/Mapbox-iOS-SDK.podspec +++ b/ios/Mapbox-iOS-SDK.podspec @@ -22,16 +22,7 @@ Pod::Spec.new do |m| m.requires_arc = true - m.preserve_paths = '**' - m.resource_bundle = { 'Mapbox' => 'Mapbox.framework/Mapbox.bundle/*' } - m.vendored_frameworks = 'Mapbox.framework' + m.vendored_frameworks = 'dynamic/Mapbox.framework' m.module_name = 'Mapbox' - m.frameworks = 'CoreLocation', 'GLKit', 'ImageIO', 'MobileCoreServices', 'QuartzCore', 'SystemConfiguration' - m.libraries = 'c++', 'sqlite3', 'z' - m.pod_target_xcconfig = { - 'OTHER_CPLUSPLUSFLAGS' => '-std=gnu++11 -stdlib=libc++', - 'OTHER_LDFLAGS' => '-ObjC', - } - end |