forked from jpush/jpush-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJPush.podspec
23 lines (19 loc) · 828 Bytes
/
JPush.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'json'
pjson = JSON.parse(File.read('package.json'))
Pod::Spec.new do |s|
s.name = "JPush"
s.version = pjson["version"]
s.homepage = pjson["homepage"]
s.summary = pjson["description"]
s.license = pjson["license"]
s.author = pjson["author"]
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