forked from jpush/jpush-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJPushRN.podspec
24 lines (19 loc) · 880 Bytes
/
JPushRN.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
require 'json'
pjson = JSON.parse(File.read('package.json'))
Pod::Spec.new do |s|
s.name = "JPushRN"
s.version = pjson["version"]
s.homepage = "https://github.com/jpush/jpush-react-native"
s.summary = pjson["description"]
s.license = pjson["license"]
s.author = { "huminios" => "380108184@qq.com" }
s.ios.deployment_target = '7.0'
s.source = { :git => "https://github.com/jpush/jpush-react-native.git", :tag => "#{s.version}" }
s.source_files = 'ios/RCTJPushModule/*.{h,m}'
s.preserve_paths = "*.js"
s.frameworks = 'UIKit','CFNetwork','CoreFoundation','CoreTelephony','SystemConfiguration','CoreGraphics','Foundation','Security'
s.weak_frameworks = 'UserNotifications'
s.libraries = 'z','resolv'
s.vendored_libraries = "ios/RCTJPushModule/*.a"
s.dependency 'React'
end