forked from braintree/braintree_ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBraintree.podspec
100 lines (85 loc) · 3.62 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
Pod::Spec.new do |s|
s.name = "Braintree"
s.version = "3.7.1"
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/v.zero"
s.screenshots = "https://raw.githubusercontent.com/braintree/braintree_ios/master/screenshot.png"
s.license = "MIT"
s.author = { "Braintree" => "code@getbraintree.com" }
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.source_files = "Braintree/*.{m,h}"
s.compiler_flags = "-Wall -Werror -Wextra"
s.default_subspecs = %w[Drop-In API PayPal Venmo UI Payments]
s.subspec "Apple-Pay" do |s|
s.dependency "Braintree/Payments"
s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "BT_ENABLE_APPLE_PAY=1" }
end
s.subspec "Drop-In" do |s|
s.source_files = "Braintree/Drop-In/**/*.{h,m}"
s.dependency "Braintree/API"
s.dependency "Braintree/PayPal"
s.dependency "Braintree/UI"
s.dependency "Braintree/Venmo"
s.dependency "Braintree/Payments"
s.resource_bundle = { "Braintree-Drop-In-Localization" => "Braintree/Drop-In/Localization/*.lproj" }
end
s.subspec "API" do |s|
s.source_files = "Braintree/API/**/*.{h,m}"
s.public_header_files = "Braintree/API/@Public/*.h"
s.weak_frameworks = "PassKit"
s.frameworks = "AddressBook"
end
s.subspec "PayPal" do |s|
s.source_files = "Braintree/PayPal/**/*.{h,m}"
s.public_header_files = "Braintree/PayPal/@Public/**/*.h"
s.frameworks = "AVFoundation", "CoreLocation", "CoreMedia", "AudioToolbox", "MessageUI", "SystemConfiguration", "MobileCoreServices"
s.vendored_library = "Braintree/PayPal/mSDK/libPayPalMobile-BT.a"
s.xcconfig = { "OTHER_LDFLAGS" => "-ObjC -lc++" }
s.dependency "Braintree/API"
s.dependency "Braintree/UI"
end
s.subspec "Venmo" do |s|
s.source_files = "Braintree/Venmo/**/*.{h,m}"
s.compiler_flags = "-Wall -Wextra"
s.dependency "Braintree/API"
end
s.subspec "UI" do |s|
s.source_files = "Braintree/UI/**/*.{h,m}"
s.compiler_flags = "-Wall -Wextra"
s.frameworks = "UIKit"
s.resource_bundle = { "Braintree-UI-Localization" => "Braintree/UI/Localization/*.lproj" }
s.dependency "Braintree/API"
end
s.subspec "Data" do |s|
s.source_files = "Braintree/Data/**/*.{h,m}"
s.vendored_library = "Braintree/Data/libDeviceCollectorLibrary.a"
s.frameworks = "UIKit", "SystemConfiguration"
s.dependency "Braintree/PayPal"
s.dependency "Braintree/API"
end
s.subspec "Payments" do |s|
s.source_files = "Braintree/Payments/**/*.{h,m}"
s.public_header_files = "Braintree/Payments/@Public/*.h"
s.frameworks = "UIKit"
s.dependency "Braintree/API"
s.dependency "Braintree/PayPal"
s.dependency "Braintree/Venmo"
end
s.subspec "3D-Secure" do |s|
s.source_files = "Braintree/3D-Secure/**/*.{h,m}"
s.public_header_files = "Braintree/3D-Secure/@Public/*.h"
s.frameworks = "UIKit"
s.dependency "Braintree/API"
s.dependency "Braintree/UI"
s.dependency "Braintree/Payments"
s.resource_bundle = { "Braintree-3D-Secure-Localization" => "Braintree/3D-Secure/Localization/*.lproj" }
end
end