-
Notifications
You must be signed in to change notification settings - Fork 169
/
Copy pathPingpp.podspec
131 lines (112 loc) · 4.17 KB
/
Pingpp.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
Pod::Spec.new do |s|
s.name = 'Pingpp'
s.version = '2.2.35'
s.summary = 'Pingplusplus iOS SDK'
s.description = <<-DESC
移动应用支付接口。
开发者不再需要编写冗长的代码,简单几步就可以使你的应用获得支付功能。
让你的移动应用接入支付像大厦接入电力一样简单,方便,和温暖。
支持微信支付,公众账号支付,支付宝钱包,百度钱包,银联手机支付。
DESC
s.homepage = 'https://pingxx.com'
s.license = 'COMMERCIAL'
s.author = { 'Afon Weng' => '[email protected]' }
s.platform = :ios, '10.0'
s.source = { :http => "https://sdk-assets.oss-cn-shanghai.aliyuncs.com/pingpp/#{s.version}/pingpp-ios-libs.zip" }
s.requires_arc = true
s.default_subspec = 'Core', 'Alipay', 'UnionPay'
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
s.subspec 'Core' do |core|
core.source_files = 'lib/*.h', 'lib/Dependencies/Network/*.h'
core.public_header_files = 'lib/*.h', 'lib/Dependencies/Network/*.h'
core.vendored_libraries = 'lib/*.a', 'lib/Dependencies/Network/*.a'
core.resource = 'lib/*.bundle'
core.frameworks = 'CFNetwork', 'SystemConfiguration', 'Security', 'CoreLocation'
core.ios.library = 'c++', 'z'
core.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
end
s.subspec 'ApplePay' do |ss|
ss.vendored_libraries = 'lib/Channels/ApplePay/*.a'
ss.frameworks = 'PassKit'
ss.dependency 'Pingpp/Core'
ss.dependency 'PingppUnionPayApplePaySDK'
end
s.subspec 'Alipay' do |ss|
ss.vendored_libraries = 'lib/Channels/Alipay/*.a'
ss.frameworks = 'CoreMotion', 'CoreTelephony'
ss.dependency 'Pingpp/Core'
ss.dependency 'PingppAlipaySDK'
end
s.subspec 'CBAlipay' do |ss|
ss.dependency 'Pingpp/Alipay'
end
s.subspec 'AlipayNoUTDID' do |ss|
ss.vendored_libraries = 'lib/Channels/Alipay/*.a'
ss.frameworks = 'CoreMotion', 'CoreTelephony'
ss.dependency 'Pingpp/Core'
ss.dependency 'PingppAlipaySDKNoUTDID'
end
s.subspec 'Wx' do |ss|
ss.vendored_libraries = 'lib/Channels/Wx/*.a'
ss.dependency 'Pingpp/Core'
ss.dependency 'WechatOpenSDK'
end
s.subspec 'UnionPay' do |ss|
ss.vendored_libraries = 'lib/Channels/UnionPay/*.a'
ss.dependency 'Pingpp/Core'
ss.dependency 'PingppUnionPaySDK'
end
s.subspec 'BfbWap' do |ss|
ss.vendored_libraries = 'lib/Channels/BfbWap/*.a'
ss.dependency 'Pingpp/Core'
ss.dependency 'Pingpp/WebView'
end
s.subspec 'Yeepay' do |ss|
ss.vendored_libraries = 'lib/Channels/Yeepay/*.a'
ss.dependency 'Pingpp/Core'
ss.dependency 'Pingpp/WebView'
end
s.subspec 'CmbWallet' do |ss|
ss.vendored_libraries = 'lib/Channels/CmbWallet/*.a'
ss.dependency 'Pingpp/Core'
ss.dependency 'PingppCMBSDK'
end
s.subspec 'Jdpay' do |ss|
ss.vendored_libraries = 'lib/Channels/Jdpay/*.a'
ss.dependency 'Pingpp/Core'
ss.dependency 'Pingpp/WebView'
end
s.subspec 'QQWallet' do |ss|
ss.vendored_libraries = 'lib/Channels/QQWallet/*.a'
ss.public_header_files = 'lib/Channels/QQWallet/QQWalletSDK/*.h'
ss.dependency 'Pingpp/Core'
end
s.subspec 'WebView' do |ss|
ss.vendored_libraries = 'lib/Dependencies/WebView/*.a'
ss.dependency 'Pingpp/Core'
end
s.subspec 'CcbPay' do |ss|
ss.vendored_libraries = 'lib/Channels/CcbPay/*.a'
ss.dependency 'Pingpp/Core'
ss.dependency 'PingppCcbPaySDK', '~> 2.4.2'
end
s.subspec 'Agreement' do |ss|
ss.vendored_libraries = 'lib/Dependencies/Agreement/*.a'
ss.dependency 'Pingpp/Core'
end
s.subspec 'Cmpay' do |ss|
ss.vendored_libraries = 'lib/Channels/Cmpay/*.a'
ss.dependency 'Pingpp/Core'
end
s.subspec 'Lakala' do |ss|
ss.vendored_libraries = 'lib/Channels/Lakala/*.a'
ss.dependency 'Pingpp/Core'
ss.dependency 'PingppLakalaSDK', '~> 2.0.1'
end
s.subspec 'Chinaums' do |ss|
ss.vendored_libraries = 'lib/Channels/Chinaums/*.a'
ss.dependency 'Pingpp/Core'
ss.dependency 'PingppChinaUmsSDK'
end
end