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
180 changes: 0 additions & 180 deletions Mapbox/MapboxMaps/MapViewController.swift

This file was deleted.

11 changes: 6 additions & 5 deletions MapboxMaps.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,20 @@ 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 => 'v10.0.0-beta.13' }
neelmistry94 marked this conversation as resolved.
Show resolved Hide resolved
m.platform = :ios
m.ios.deployment_target = '11.0'
m.swift_version = '5.3'
m.requires_arc = true
neelmistry94 marked this conversation as resolved.
Show resolved Hide resolved
m.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
neelmistry94 marked this conversation as resolved.
Show resolved Hide resolved

m.source_files = 'Mapbox/MapboxMaps/**/*.{swift,h}', 'Mapbox/MapboxMapsAnnotations/**/*.{swift,h}', 'Mapbox/MapboxMapsFoundation/**/*.{swift,h}', 'Mapbox/MapboxMapsGestures/**/*.{swift,h}', 'Mapbox/MapboxMapsLocation/**/*.{swift,h}', 'Mapbox/MapboxMapsOffline/**/*.{swift,h}', 'Mapbox/MapboxMapsOrnaments/**/*.{swift,h,strings}', 'Mapbox/MapboxMapsSnapshot/**/*.{swift,h}', 'Mapbox/MapboxMapsStyle/**/*.{swift,h}'
m.resources = 'Mapbox/MapboxMapsLocation/Pucks/IndicatorAssets.xcassets'

m.dependency 'MapboxCoreMaps', '10.0.0-beta.14.1'
m.dependency 'MapboxCommon', '10.0.0-beta.9.1'
m.dependency 'MapboxMobileEvents', '0.10.7'
macdrevx marked this conversation as resolved.
Show resolved Hide resolved
m.dependency 'Turf', '2.0.0-alpha.2'
m.dependency 'Turf', '1.2.0'
macdrevx marked this conversation as resolved.
Show resolved Hide resolved

end