forked from maplibre/maplibre-navigation-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMapboxCoreNavigation.podspec
53 lines (33 loc) · 2.76 KB
/
MapboxCoreNavigation.podspec
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.name = "MapboxCoreNavigation"
s.version = "1.0.2"
s.summary = "Core components for turn-by-turn navigation on iOS."
s.description = <<-DESC
Mapbox Core Navigation provides the core spatial and timing logic for turn-by-turn navigation along a route. For a complete turn-by-turn navigation interface, use the Mapbox Navigation SDK for iOS (MapboxNavigation).
DESC
s.homepage = "https://www.mapbox.com/ios-sdk/navigation/"
s.documentation_url = "https://www.mapbox.com/mapbox-navigation-ios/navigation/"
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.license = { :type => "ISC", :file => "LICENSE.md" }
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.author = { "Mapbox" => "[email protected]" }
s.social_media_url = "https://twitter.com/mapbox"
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.ios.deployment_target = "9.0"
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source = { :git => "https://github.com/mapbox/mapbox-navigation-ios.git", :tag => "v#{s.version.to_s}" }
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source_files = "MapboxCoreNavigation"
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.requires_arc = true
s.module_name = "MapboxCoreNavigation"
s.dependency "MapboxDirections.swift", "~> 0.23.0"
s.dependency "MapboxMobileEvents", "~> 0.5"
s.dependency "Turf", "~> 0.2"
# `swift_version` was introduced in CocoaPods 1.4.0. Without this check, if a user were to
# directly specify this podspec while using <1.4.0, ruby would throw an unknown method error.
if s.respond_to?(:swift_version)
s.swift_version = "4.0"
end
end