Skip to content

Commit c60d793

Browse files
Stripe SDK 24.23.0
1 parent 70dda2f commit c60d793

File tree

5,280 files changed

+513689
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,280 files changed

+513689
-3
lines changed

CHANGELOG.md

Lines changed: 1708 additions & 0 deletions
Large diffs are not rendered by default.

MIGRATING.md

Lines changed: 324 additions & 0 deletions
Large diffs are not rendered by default.

Package.swift

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
// swift-tools-version:5.7
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "Stripe",
6+
defaultLocalization: "en",
7+
platforms: [
8+
.iOS(.v13)
9+
],
10+
products: [
11+
.library(
12+
name: "Stripe",
13+
targets: ["Stripe"]
14+
),
15+
.library(
16+
name: "StripePayments",
17+
targets: ["StripePayments"]
18+
),
19+
.library(
20+
name: "StripePaymentsUI",
21+
targets: ["StripePaymentsUI"]
22+
),
23+
.library(
24+
name: "StripePaymentSheet",
25+
targets: ["StripePaymentSheet"]
26+
),
27+
.library(
28+
name: "StripeApplePay",
29+
targets: ["StripeApplePay"]
30+
),
31+
.library(
32+
name: "StripeIdentity",
33+
targets: ["StripeIdentity"]
34+
),
35+
.library(
36+
name: "StripeCardScan",
37+
targets: ["StripeCardScan"]
38+
),
39+
.library(
40+
name: "StripeFinancialConnections",
41+
targets: ["StripeFinancialConnections"]
42+
),
43+
.library(
44+
name: "StripeConnect",
45+
targets: ["StripeConnect"]
46+
)
47+
],
48+
targets: [
49+
.target(
50+
name: "Stripe",
51+
dependencies: ["Stripe3DS2", "StripeCore", "StripeApplePay", "StripeUICore", "StripePayments", "StripePaymentsUI"],
52+
path: "Stripe/StripeiOS",
53+
exclude: ["Info.plist"],
54+
resources: [
55+
.process("Resources/StripeiOS.xcassets"),
56+
.process("PrivacyInfo.xcprivacy")
57+
]
58+
),
59+
.target(
60+
name: "Stripe3DS2",
61+
path: "Stripe3DS2/Stripe3DS2",
62+
exclude: ["Info.plist", "Resources/CertificateFiles", "include/Stripe3DS2-Prefix.pch"],
63+
resources: [
64+
.process("Resources"),
65+
.process("PrivacyInfo.xcprivacy")
66+
],
67+
cSettings: [
68+
.headerSearchPath(".")
69+
]
70+
),
71+
.target(
72+
name: "StripeCameraCore",
73+
dependencies: ["StripeCore"],
74+
path: "StripeCameraCore/StripeCameraCore",
75+
exclude: ["Info.plist"]
76+
),
77+
.target(
78+
name: "StripeCore",
79+
path: "StripeCore/StripeCore",
80+
exclude: ["Info.plist"],
81+
resources: [
82+
.process("PrivacyInfo.xcprivacy")
83+
]
84+
),
85+
.target(
86+
name: "StripeApplePay",
87+
dependencies: ["StripeCore"],
88+
path: "StripeApplePay/StripeApplePay",
89+
exclude: ["Info.plist"]
90+
),
91+
.target(
92+
name: "StripeIdentity",
93+
dependencies: ["StripeCore", "StripeUICore", "StripeCameraCore"],
94+
path: "StripeIdentity/StripeIdentity",
95+
exclude: ["Info.plist"],
96+
resources: [
97+
.process("Resources/Images")
98+
]
99+
),
100+
.target(
101+
name: "StripeCardScan",
102+
dependencies: ["StripeCore"],
103+
path: "StripeCardScan/StripeCardScan",
104+
exclude: ["Info.plist"],
105+
resources: [
106+
.copy("Resources/CompiledModels/UxModel.mlmodelc"),
107+
.copy("Resources/CompiledModels/SSDOcr.mlmodelc")
108+
]
109+
),
110+
.target(
111+
name: "StripeUICore",
112+
dependencies: ["StripeCore"],
113+
path: "StripeUICore/StripeUICore",
114+
exclude: ["Info.plist"],
115+
resources: [
116+
.process("Resources/StripeUICore.xcassets"),
117+
.process("Resources/JSON")
118+
]
119+
),
120+
.target(
121+
name: "StripePayments",
122+
dependencies: ["StripeCore", "Stripe3DS2"],
123+
path: "StripePayments/StripePayments",
124+
exclude: ["Info.plist"],
125+
resources: [
126+
.process("Resources")
127+
]
128+
),
129+
.target(
130+
name: "StripePaymentsUI",
131+
dependencies: ["StripeCore", "Stripe3DS2", "StripePayments", "StripeUICore"],
132+
path: "StripePaymentsUI/StripePaymentsUI",
133+
exclude: ["Info.plist"],
134+
resources: [
135+
.process("Resources/StripePaymentsUI.xcassets"),
136+
.process("Resources/JSON")
137+
]
138+
),
139+
.target(
140+
name: "StripePaymentSheet",
141+
dependencies: ["StripePaymentsUI", "StripeApplePay", "StripePayments", "StripeCore", "StripeUICore"],
142+
path: "StripePaymentSheet/StripePaymentSheet",
143+
exclude: ["Info.plist"],
144+
resources: [
145+
.process("Resources/StripePaymentSheet.xcassets"),
146+
.process("Resources/JSON"),
147+
.process("PrivacyInfo.xcprivacy")
148+
]
149+
),
150+
.target(
151+
name: "StripeFinancialConnections",
152+
dependencies: ["StripeCore", "StripeUICore"],
153+
path: "StripeFinancialConnections/StripeFinancialConnections",
154+
exclude: ["Info.plist"],
155+
resources: [
156+
.process("Resources/Images"),
157+
.process("PrivacyInfo.xcprivacy")
158+
]
159+
),
160+
.target(
161+
name: "StripeConnect",
162+
dependencies: ["StripeCore", "StripeUICore", "StripeFinancialConnections"],
163+
path: "StripeConnect/StripeConnect"
164+
)
165+
]
166+
)

0 commit comments

Comments
 (0)