-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMapboxPlugins.podspec
More file actions
47 lines (32 loc) · 2.31 KB
/
MapboxPlugins.podspec
File metadata and controls
47 lines (32 loc) · 2.31 KB
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
Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
s.name = "MapboxPlugins"
s.version = "0.0.1"
s.summary = "Experimental plugins to supercharge your maps."
# This description is used to generate tags and improve search results.
s.description = "Add plugins to your Mapbox basemaps. Each plugin is packaged as a subspec. At the moment, the following plugin is available:
* “Traffic” adds traffic congestion layers to a map view.
Mapbox Plugins require version 3.6 of the Mapbox iOS SDK or higher."
s.homepage = "https://github.com/mapbox/mapbox-plugins-ios/"
s.screenshot = 'https://raw.githubusercontent.com/mapbox/mapbox-plugins-ios/master/TrafficPlugin/trafficplugin.gif'
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.license = { :type => "ISC", :file => "LICENSE.md" }
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.author = { "Mapbox" => "mobile@mapbox.com" }
s.social_media_url = "https://twitter.com/mapbox"
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
s.platform = :ios, "8.0"
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source = { :git => "https://github.com/mapbox/mapbox-plugins-ios.git", :branch => "master" }
s.module_name = 'MapboxPlugins'
s.subspec 'PluginKit' do |core|
core.source_files = 'PluginKit/*.h'
core.dependency 'Mapbox-iOS-SDK', '~> 4.0.0'
end
s.subspec 'Traffic' do |traffic|
traffic.source_files = 'TrafficPlugin/*.{h,m}'
traffic.dependency 'MapboxPlugins/PluginKit'
end
end