summaryrefslogtreecommitdiff
path: root/ios/MapboxGL.podspec
blob: 6cdec1826dadc544fc9892997753fbcedf53ecf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Pod::Spec.new do |m|

  m.name    = 'MapboxGL'
  m.version = '0.1.0'

  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-cocoa/master/pkg/screenshot.png'
  m.social_media_url = 'https://twitter.com/Mapbox'

  m.source = { :git => 'https://github.com/mapbox/mapbox-gl-cocoa.git', :tag => m.version.to_s }

  m.platform              = :ios
  m.ios.deployment_target = '7.0'

  m.source_files = 'dist/static/Headers/*.h'

  m.requires_arc = true

  m.resource_bundle = { 'MapboxGL' => 'dist/static/MapboxGL.bundle/*' }

  m.frameworks = 'CoreLocation', 'Foundation', 'GLKit', 'SystemConfiguration', 'UIKit'

  m.libraries = 'MapboxGL', 'c++', 'sqlite3', 'z'

  m.vendored_libraries = 'dist/static/libMapboxGL.a'

  m.xcconfig = { 'OTHER_CPLUSPLUSFLAGS' => '-std=gnu++11 -stdlib=libc++' }

end