-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
45 lines (44 loc) · 1.48 KB
/
Package.swift
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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Checkout3DSPackages",
platforms: [
.iOS(.v12)
],
products: [
.library(
name: "Checkout3DSPackages",
targets: ["Checkout3DSPackages"]
)
],
dependencies: [
.package(
url: "https://github.com/checkout/checkout-event-logger-ios-framework.git",
from: "1.2.4"
)],
targets: [
.binaryTarget(
name: "Checkout3DS",
path: "Checkout3DS.xcframework"
),
.binaryTarget(
name: "Checkout3DS-Security",
path: "Checkout3DS-Security.xcframework"
),
.binaryTarget(
name: "JOSESwift",
path: "Dependencies/JOSESwift.xcframework"
),
.target(name: "Checkout3DSPackages",
dependencies: [
.product(name: "CheckoutEventLoggerKit",
package: "checkout-event-logger-ios-framework"),
.target(name: "JOSESwift", condition: .when(platforms: .some([.iOS]))),
.target(name: "Checkout3DS", condition: .when(platforms: .some([.iOS]))),
.target(name: "Checkout3DS-Security", condition: .when(platforms: .some([.iOS])))
],
path: "Checkout3DSPackages",
linkerSettings: [.linkedFramework("CheckoutEventLoggerKit")])
],
swiftLanguageVersions: [.v5]
)