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.
29 lines
1.0 KiB
Ruby
29 lines
1.0 KiB
Ruby
Pod::Spec.new do |m|
|
|
|
|
m.name = 'Mapbox-iOS-SDK'
|
|
m.version = '3.0.1-symbols'
|
|
|
|
m.summary = 'Open source vector map solution for iOS with full styling capabilities.'
|
|
m.description = 'Open source, OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa Touch APIs.'
|
|
m.homepage = 'https://www.mapbox.com/ios-sdk/'
|
|
m.license = { :type => 'BSD', :file => 'Mapbox.framework/LICENSE.md' }
|
|
m.author = { 'Mapbox' => 'mobile@mapbox.com' }
|
|
m.screenshot = 'https://raw.githubusercontent.com/mapbox/mapbox-gl-native/master/ios/screenshot.png'
|
|
m.social_media_url = 'https://twitter.com/mapbox'
|
|
m.documentation_url = 'https://www.mapbox.com/ios-sdk/'
|
|
|
|
m.source = {
|
|
:http => "https://mapbox.s3.amazonaws.com/mapbox-gl-native/ios/builds/Mapbox.framework-#{m.version.to_s}.zip",
|
|
:flatten => true
|
|
}
|
|
|
|
m.platform = :ios
|
|
m.ios.deployment_target = '7.0'
|
|
|
|
m.requires_arc = true
|
|
|
|
m.vendored_frameworks = 'dynamic/Mapbox.framework'
|
|
m.module_name = 'Mapbox'
|
|
|
|
end
|