-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathReactNativeKakaoMaps.podspec
30 lines (25 loc) · 1.07 KB
/
ReactNativeKakaoMaps.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
require 'json'
# Returns the version number for a package.json file
pkg_version = lambda do |dir_from_root = '', version = 'version'|
path = File.join(__dir__, dir_from_root, 'package.json')
JSON.parse(File.read(path))[version]
end
# Let the main package.json decide the version number for the pod
package_version = pkg_version.call
Pod::Spec.new do |s|
s.name = "ReactNativeKakaoMaps"
s.version = package_version
s.summary = "A react native module kakao maps"
s.description = <<-DESC
A react native module kakao maps
DESC
s.homepage = "https://github.com/jiggag/react-native-kakao-maps"
s.license = "MIT"
s.author = { "Atul R" => "[email protected]" }
s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/jiggag/react-native-kakao-maps.git", :tag => s.version.to_s }
s.source_files = "ios/*.{h,m}"
s.vendored_frameworks = 'ios/DaumMap.embeddedframework/DaumMap.framework'
s.resources = ['ios/DaumMap.embeddedframework/Resources/*.png']
s.dependency "React"
end