forked from braintree/braintree_ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBraintree.podspec
136 lines (117 loc) · 5.09 KB
/
Braintree.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
132
133
134
135
Pod::Spec.new do |s|
s.name = "Braintree"
s.version = "4.22.0"
s.summary = "Braintree v.zero: A modern foundation for accepting payments"
s.description = <<-DESC
Braintree is a full-stack payments platform for developers
This CocoaPod will help you accept payments in your iOS app.
Check out our development portal at https://developers.braintreepayments.com.
DESC
s.homepage = "https://www.braintreepayments.com/how-braintree-works"
s.documentation_url = "https://developers.braintreepayments.com/ios/start/hello-client"
s.screenshots = "https://raw.githubusercontent.com/braintree/braintree_ios/master/Docs/screenshot.png"
s.license = "MIT"
s.author = { "Braintree" => "[email protected]" }
s.source = { :git => "https://github.com/braintree/braintree_ios.git", :tag => s.version.to_s }
s.social_media_url = "https://twitter.com/braintree"
s.platform = :ios, "7.0"
s.requires_arc = true
s.compiler_flags = "-Wall -Werror -Wextra"
s.default_subspecs = %w[Core Card PayPal UI]
s.subspec "Core" do |s|
s.source_files = "BraintreeCore/**/*.{h,m}"
s.public_header_files = "BraintreeCore/Public/*.h"
s.frameworks = "AddressBook"
s.weak_frameworks = "Contacts"
end
s.subspec "Apple-Pay" do |s|
s.source_files = "BraintreeApplePay/**/*.{h,m}"
s.public_header_files = "BraintreeApplePay/Public/*.h"
s.dependency "Braintree/Core"
s.frameworks = "PassKit"
end
s.subspec "Card" do |s|
s.source_files = "BraintreeCard/**/*.{h,m}"
s.public_header_files = "BraintreeCard/Public/*.h"
s.dependency "Braintree/Core"
end
s.subspec "DataCollector" do |s|
s.source_files = "BraintreeDataCollector/**/*.{h,m}"
s.public_header_files = "BraintreeDataCollector/Public/*.h"
s.vendored_library = "BraintreeDataCollector/Kount/libDeviceCollectorLibrary.a"
s.dependency "Braintree/Core"
end
s.subspec "PayPal" do |s|
s.source_files = "BraintreePayPal/*.{h,m}", "BraintreePayPal/Public/*.h"
s.public_header_files = "BraintreePayPal/Public/*.h"
s.dependency "Braintree/Core"
s.dependency "Braintree/PayPalOneTouch"
end
s.subspec "Venmo" do |s|
s.source_files = "BraintreeVenmo/**/*.{h,m}"
s.public_header_files = "BraintreeVenmo/Public/*.h"
s.dependency "Braintree/Core"
s.dependency "Braintree/PayPalDataCollector"
end
s.subspec "UI" do |s|
s.source_files = "BraintreeUI/**/*.{h,m}"
s.public_header_files = "BraintreeUI/Public/*.h"
s.frameworks = "UIKit"
s.resource_bundles = {
"Braintree-UI-Localization" => ["BraintreeUI/Localization/*.lproj"],
"Braintree-Drop-In-Localization" => ["BraintreeUI/Drop-In/Localization/*.lproj"] }
s.dependency "Braintree/Card"
s.dependency "Braintree/Core"
end
s.subspec "UnionPay" do |s|
s.source_files = "BraintreeUnionPay/**/*.{h,m}"
s.public_header_files = "BraintreeUnionPay/Public/*.h"
s.frameworks = "UIKit"
s.dependency "Braintree/Card"
s.dependency "Braintree/Core"
end
s.subspec "3D-Secure" do |s|
s.source_files = "Braintree3DSecure/**/*.{h,m}"
s.public_header_files = "Braintree3DSecure/Public/*.h"
s.frameworks = "UIKit"
s.dependency "Braintree/Card"
s.dependency "Braintree/Core"
s.resource_bundle = { "Braintree-3D-Secure-Localization" => "Braintree3DSecure/Localization/*.lproj" }
end
s.subspec "PayPalOneTouch" do |s|
s.source_files = "BraintreePayPal/PayPalOneTouch/**/*.{h,m}"
s.public_header_files = "BraintreePayPal/PayPalOneTouch/Public/*.h"
s.frameworks = "UIKit"
s.weak_frameworks = "SafariServices"
s.xcconfig = { "OTHER_LDFLAGS" => "-ObjC -lc++" }
s.dependency "Braintree/Core"
s.dependency "Braintree/PayPalDataCollector"
s.dependency "Braintree/PayPalUtils"
end
s.subspec "PayPalDataCollector" do |s|
s.source_files = "BraintreePayPal/PayPalDataCollector/**/*.{h,m}"
s.public_header_files = "BraintreePayPal/PayPalDataCollector/Public/*.h", "BraintreePayPal/PayPalDataCollector/Risk/*.h"
s.frameworks = "MessageUI", "SystemConfiguration", "CoreLocation", "UIKit"
s.vendored_library = "BraintreePayPal/PayPalDataCollector/Risk/libPPRiskMagnesOC.a"
s.dependency "Braintree/Core"
s.dependency "Braintree/PayPalUtils"
end
s.subspec "PayPalUtils" do |s|
s.source_files = "BraintreePayPal/PayPalUtils/**/*.{h,m}"
s.public_header_files = "BraintreePayPal/PayPalUtils/Public/*.h"
s.frameworks = "MessageUI", "SystemConfiguration", "CoreLocation", "UIKit"
end
s.subspec "AmericanExpress" do |s|
s.source_files = "BraintreeAmericanExpress/**/*.{h,m}"
s.public_header_files = "BraintreeAmericanExpress/Public/*.h"
s.dependency "Braintree/Core"
end
s.subspec "PaymentFlow" do |s|
s.source_files = "BraintreePaymentFlow/**/*.{h,m}"
s.public_header_files = "BraintreePaymentFlow/Public/**/*.h"
s.weak_frameworks = "SafariServices"
s.dependency "Braintree/Core"
s.dependency "Braintree/Card"
s.dependency "Braintree/PayPalOneTouch"
end
end