forked from braintree/braintree_ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBraintree.podspec
94 lines (78 loc) · 3.61 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
Pod::Spec.new do |s|
s.name = "Braintree"
s.version = "5.5.0"
s.summary = "Braintree iOS SDK: Helps you accept card and alternative payments in your iOS app."
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://developer.paypal.com/braintree"
s.documentation_url = "https://developer.paypal.com/braintree/docs/start/hello-client"
s.license = "MIT"
s.author = { "Braintree" => "[email protected]" }
s.source = { :git => "https://github.com/braintree/braintree_ios.git", :tag => s.version.to_s }
s.platform = :ios, "12.0"
s.compiler_flags = "-Wall -Werror -Wextra"
s.swift_version = "5.1"
s.default_subspecs = %w[Core Card PayPal]
s.subspec "AmericanExpress" do |s|
s.source_files = "Sources/BraintreeAmericanExpress/**/*.{h,m}"
s.public_header_files = "Sources/BraintreeAmericanExpress/Public/BraintreeAmericanExpress/*.h"
s.dependency "Braintree/Core"
end
s.subspec "ApplePay" do |s|
s.source_files = "Sources/BraintreeApplePay/**/*.{h,m}"
s.public_header_files = "Sources/BraintreeApplePay/Public/BraintreeApplePay/*.h"
s.dependency "Braintree/Core"
s.frameworks = "PassKit"
end
s.subspec "Card" do |s|
s.source_files = "Sources/BraintreeCard/**/*.{h,m}"
s.public_header_files = "Sources/BraintreeCard/Public/BraintreeCard/*.h"
s.dependency "Braintree/Core"
end
s.subspec "Core" do |s|
s.source_files = "Sources/BraintreeCore/**/*.{h,m}"
s.public_header_files = "Sources/BraintreeCore/Public/BraintreeCore/*.h"
end
s.subspec "DataCollector" do |s|
s.source_files = "Sources/BraintreeDataCollector/**/*.{h,m}"
s.public_header_files = "Sources/BraintreeDataCollector/Public/BraintreeDataCollector/*.h"
s.vendored_frameworks = "Frameworks/XCFrameworks/KountDataCollector.xcframework"
s.dependency "Braintree/Core"
end
s.subspec "PaymentFlow" do |s|
s.source_files = "Sources/BraintreePaymentFlow/**/*.{h,m}"
s.public_header_files = "Sources/BraintreePaymentFlow/Public/BraintreePaymentFlow/*.h"
s.dependency "Braintree/Core"
s.dependency "Braintree/PayPalDataCollector"
end
s.subspec "PayPal" do |s|
s.source_files = "Sources/BraintreePayPal/**/*.{h,m}"
s.public_header_files = "Sources/BraintreePayPal/Public/BraintreePayPal/*.h"
s.dependency "Braintree/Core"
s.dependency "Braintree/PayPalDataCollector"
end
s.subspec "PayPalDataCollector" do |s|
s.source_files = "Sources/PayPalDataCollector/**/*.{swift}"
s.vendored_frameworks = "Frameworks/XCFrameworks/PPRiskMagnes.xcframework"
end
s.subspec "ThreeDSecure" do |s|
s.source_files = "Sources/BraintreeThreeDSecure/**/*.{h,m}"
s.public_header_files = "Sources/BraintreeThreeDSecure/Public/BraintreeThreeDSecure/*.h"
s.dependency "Braintree/Card"
s.dependency "Braintree/PaymentFlow"
s.vendored_frameworks = "Frameworks/XCFrameworks/CardinalMobile.xcframework"
end
s.subspec "UnionPay" do |s|
s.source_files = "Sources/BraintreeUnionPay/**/*.{h,m}"
s.public_header_files = "Sources/BraintreeUnionPay/Public/BraintreeUnionPay/*.h"
s.dependency "Braintree/Card"
end
s.subspec "Venmo" do |s|
s.source_files = "Sources/BraintreeVenmo/**/*.{h,m}"
s.public_header_files = "Sources/BraintreeVenmo/Public/BraintreeVenmo/*.h"
s.dependency "Braintree/Core"
end
end