-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathreact-native-amap-geolocation.podspec
More file actions
28 lines (23 loc) · 978 Bytes
/
react-native-amap-geolocation.podspec
File metadata and controls
28 lines (23 loc) · 978 Bytes
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
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
# s.name = package["name"]
s.name = "react-native-amap-geolocation"
s.version = package["version"]
s.summary = package["description"]
s.homepage = "https://github.com/uiwjs/react-native-amap-geolocation"
# brief license entry:
s.license = package["license"]
s.author = { package["author"]["name"] => package["author"]["email"] }
# optional - use expanded license entry instead:
# s.license = { :type => "MIT", :file => "LICENSE" }
# s.authors = { "Kenny Wong" => "wowohoo@qq.com" }
s.platforms = { :ios => "9.0" }
s.source = { :git => "https://github.com/uiwjs/react-native-amap-geolocation.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m,mm}"
s.requires_arc = true
s.dependency "React"
s.dependency "AMapLocation", "~> 2.9.0"
# ...
# s.dependency "..."
end