|
| 1 | +Pod::Spec.new do |s| |
| 2 | + |
| 3 | + # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 4 | + |
| 5 | + s.name = "MapboxGeocoder.swift" |
| 6 | + s.version = "0.4.0" |
| 7 | + s.summary = "Mapbox Geocoding API wrapper for Objective-C and Swift." |
| 8 | + |
| 9 | + s.description = <<-DESC |
| 10 | + MapboxGeocoder.swift makes it easy to connect your iOS or OS X application to the Mapbox Geocoding API. MapboxGeocoder.swift combines the power of the Carmen geocoder with the simplicity of Core Location’s CLGeocoder API. |
| 11 | + DESC |
| 12 | + |
| 13 | + s.homepage = "https://www.mapbox.com/api-documentation/#geocoding" |
| 14 | + |
| 15 | + # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 16 | + |
| 17 | + s.license = { :type => "ISC", :file => "LICENSE.md" } |
| 18 | + |
| 19 | + # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 20 | + |
| 21 | + s.author = { "Mapbox" => "[email protected]" } |
| 22 | + s.social_media_url = "https://twitter.com/mapbox" |
| 23 | + |
| 24 | + # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 25 | + |
| 26 | + # When using multiple platforms |
| 27 | + s.ios.deployment_target = "8.0" |
| 28 | + s.osx.deployment_target = "10.10" |
| 29 | + s.watchos.deployment_target = "2.0" |
| 30 | + s.tvos.deployment_target = "9.0" |
| 31 | + |
| 32 | + # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 33 | + |
| 34 | + s.source = { :git => "https://github.com/mapbox/MapboxGeocoder.swift.git", :tag => "v#{m.version.to_s}" } |
| 35 | + |
| 36 | + # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 37 | + |
| 38 | + s.source_files = "MapboxGeocoder" |
| 39 | + |
| 40 | + # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 41 | + |
| 42 | + s.requires_arc = true |
| 43 | + s.module_name = "MapboxGeocoder" |
| 44 | + |
| 45 | + s.dependency "NBNRequestKit" |
| 46 | + |
| 47 | +end |
0 commit comments