Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cocoapods Build From Source #118

Merged
merged 12 commits into from
Feb 22, 2021
19 changes: 9 additions & 10 deletions MapboxMaps.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,18 @@ Pod::Spec.new do |m|
m.author = { 'Mapbox' => '[email protected]' }
m.social_media_url = 'https://twitter.com/mapbox'
m.documentation_url = 'https://docs.mapbox.com/ios/beta/maps/api-reference/'

m.source = { http: "https://api.mapbox.com/downloads/v2/mobile-maps-ios/releases/ios/packages/#{maps_version.to_s}/MapboxMaps.xcframework.zip" }
m.vendored_frameworks = 'MapboxMaps.xcframework'


m.source = { :git => 'https://github.com/mapbox/mapbox-maps-ios.git', :tag => maps_version }
m.platform = :ios
m.ios.deployment_target = '11.0'
m.swift_version = '5.3'
m.requires_arc = true
m.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }

m.dependency 'MapboxCoreMaps', '10.0.0-beta.14.1'
m.dependency 'MapboxCommon', '10.0.0-beta.9.1'
m.dependency 'MapboxMobileEvents', '0.10.7'
m.dependency 'Turf', '2.0.0-alpha.2'
m.source_files = 'Sources/MapboxMaps/**/*.{swift,h}'
m.resources = 'Sources/MapboxMaps/Location/Pucks/IndicatorAssets.xcassets', 'Sources/MapboxMaps/Ornaments/en.lproj/OrnamentsLocalizable.strings'
macdrevx marked this conversation as resolved.
Show resolved Hide resolved

m.dependency 'MapboxCoreMaps', '10.0.0-beta.15'
m.dependency 'MapboxCommon', '10.0.0-beta.11'
m.dependency 'MapboxMobileEvents', '0.10.8'
m.dependency 'Turf', '~> 1.2.0'
macdrevx marked this conversation as resolved.
Show resolved Hide resolved

end