This is only temporary, until such time that we release Mapbox GL on CocoaPods directly, when they will host the Podspec. For now, it needs to be in the repository root to be usable as a non-main CocoaPods source.
34 lines
1.2 KiB
Ruby
34 lines
1.2 KiB
Ruby
Pod::Spec.new do |m|
|
|
|
|
m.name = 'MapboxGL'
|
|
m.version = '0.2.8'
|
|
|
|
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 bindings.'
|
|
m.homepage = 'https://www.mapbox.com/blog/mapbox-gl/'
|
|
m.license = 'BSD'
|
|
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.source = { :http => "http://mapbox.s3.amazonaws.com/mapbox-gl-native/ios/builds/mapbox-gl-ios-#{m.version.to_s}.zip" }
|
|
|
|
m.platform = :ios
|
|
m.ios.deployment_target = '7.0'
|
|
|
|
m.source_files = 'Headers/*.h'
|
|
|
|
m.requires_arc = true
|
|
|
|
m.resource_bundle = { 'MapboxGL' => 'MapboxGL.bundle/*' }
|
|
|
|
m.frameworks = 'CoreLocation', 'CoreTelephony', 'GLKit', 'ImageIO', 'MobileCoreServices', 'QuartzCore', 'SystemConfiguration'
|
|
|
|
m.libraries = 'c++', 'sqlite3', 'z'
|
|
|
|
m.vendored_library = 'libMapboxGL.a'
|
|
|
|
m.xcconfig = { 'OTHER_CPLUSPLUSFLAGS' => '-std=gnu++11 -stdlib=libc++' }
|
|
|
|
end
|