Merge pull request #1227 from mapbox/fix-repo-podspec

fix up Podspec (flatten, back to iOS subfolder)
This commit is contained in:
Justin R. Miller
2015-04-07 14:29:50 -07:00

View File

@@ -11,23 +11,24 @@ Pod::Spec.new do |m|
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.source = {
:http => "http://mapbox.s3.amazonaws.com/mapbox-gl-native/ios/builds/mapbox-gl-ios-#{m.version.to_s}.zip",
:flatten => true
}
m.platform = :ios
m.ios.deployment_target = '7.0'
m.source_files = 'Headers/*.h'
m.requires_arc = true
m.preserve_paths = '**'
m.source_files = 'Headers/*.h'
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.frameworks = 'CoreLocation', 'CoreTelephony', 'GLKit', 'ImageIO', 'MobileCoreServices', 'QuartzCore', 'SystemConfiguration'
m.libraries = 'c++', 'sqlite3', 'z'
m.xcconfig = { 'OTHER_CPLUSPLUSFLAGS' => '-std=gnu++11 -stdlib=libc++' }
end