-
Notifications
You must be signed in to change notification settings - Fork 30
/
PayPal.podspec
46 lines (40 loc) · 1.87 KB
/
PayPal.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
Pod::Spec.new do |s|
s.name = "PayPal"
s.version = "2.0.0-beta2"
s.summary = "The PayPal iOS SDK: Helps you accept card, PayPal, and alternative payment methods in your iOS app."
s.homepage = "https://developer.paypal.com/home"
s.license = "MIT"
s.author = { "PayPal" => "sdks@paypal.com" }
s.source = { :git => "https://github.com/paypal/paypal-ios.git", :tag => s.version.to_s }
s.swift_version = "5.9"
s.platform = :ios, "14.0"
s.compiler_flags = "-Wall -Werror -Wextra"
s.subspec "CardPayments" do |s|
s.source_files = "Sources/CardPayments/**/*.swift"
s.dependency "PayPal/CorePayments"
s.resource_bundle = { "CardPayments_PrivacyInfo" => "Sources/CardPayments/PrivacyInfo.xcprivacy" }
end
s.subspec "PaymentButtons" do |s|
s.source_files = "Sources/PaymentButtons/*.swift"
s.dependency "PayPal/CorePayments"
s.resource_bundle = {
'PayPalSDK' => ['Sources/PaymentButtons/*.xcassets'],
"PaymentButtons_PrivacyInfo" => "Sources/PaymentButtons/PrivacyInfo.xcprivacy"
}
end
s.subspec "PayPalWebPayments" do |s|
s.source_files = "Sources/PayPalWebPayments/*.swift"
s.dependency "PayPal/CorePayments"
s.resource_bundle = { "PayPalWebPayments_PrivacyInfo" => "Sources/PayPalWebPayments/PrivacyInfo.xcprivacy" }
end
s.subspec "FraudProtection" do |s|
s.source_files = "Sources/FraudProtection/*.swift"
s.dependency "PayPal/CorePayments"
s.vendored_frameworks = "Frameworks/XCFrameworks/PPRiskMagnes.xcframework"
s.resource_bundle = { "FraudProtection_PrivacyInfo" => "Sources/FraudProtection/PrivacyInfo.xcprivacy" }
end
s.subspec "CorePayments" do |s|
s.source_files = "Sources/CorePayments/**/*.swift"
s.resource_bundle = { "CorePayments_PrivacyInfo" => "Sources/CorePayments/PrivacyInfo.xcprivacy" }
end
end