-
Notifications
You must be signed in to change notification settings - Fork 49
/
react-native-alipay.podspec
50 lines (42 loc) · 1.53 KB
/
react-native-alipay.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "react-native-alipay"
# s.name = "RNAlipay"
# s.name = "React-Alipay"
s.version = package["version"]
s.summary = package["description"]
s.description = <<-DESC
Alipay SDK for React Native
DESC
s.homepage = package['repository']['url']
# 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.platforms = { :ios => "9.0" }
s.source = { :git => "https://github.com/uiwjs/react-native-alipay.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m,mm,swift}"
# s.source_files = "**/*.{h,m}"
s.requires_arc = true
s.frameworks = "UIKit",
s.frameworks = "Foundation",
s.frameworks = "CFNetwork",
s.frameworks = "SystemConfiguration",
s.frameworks = "QuartzCore",
s.frameworks = "CoreGraphics",
s.frameworks = "CoreMotion",
s.frameworks = "CoreTelephony",
s.frameworks = "CoreText",
s.frameworks = "WebKit"
# s.dependency "React"
s.dependency "React-Core"
s.resource = 'ios/AlipaySDK.bundle'
# s.vendored_libraries = "libAlipaySDK.a"
# s.source_files = "AlipaySDKiOS/AlipaySDK.framework/**/*"
s.vendored_frameworks = 'ios/AlipaySDK.framework'
s.library = "c++", "z"
# ...
# s.dependency "..."
end