-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
51 lines (48 loc) · 1.39 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
46
47
48
49
50
51
// swift-tools-version:5.6
/*
* CaptureSDK Swift Package for iOS
*/
import PackageDescription
let package = Package(
name: "CaptureSDK",
platforms: [
.iOS(.v13)
],
products: [
.library(
name: "CaptureSDK",
targets: [
"CaptureSDKFramework", "SwiftDecoderCaptureSDK", "CryptoSwiftCaptureSDK"
]
)
],
dependencies: [
.package(url: "https://github.com/SocketMobile/swift-package-swiftdecodersdk.git", exact: "6.0.10"),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.6.0")
],
targets: [
.target(
name: "CaptureSDKFramework",
dependencies: ["CaptureSDKBinaryTarget"],
path: "Sources/CaptureSDKDummy"
),
.target(
name: "SwiftDecoderCaptureSDK",
dependencies: [
.product(name: "SwiftDecoderSDK", package: "swift-package-swiftdecodersdk"),
],
path: "Sources/SwiftDecoderDummy"
),
.target(
name: "CryptoSwiftCaptureSDK",
dependencies: [
.product(name: "CryptoSwift", package: "CryptoSwift"),
],
path: "Sources/CryptoSwiftDummy"
),
.binaryTarget(
name: "CaptureSDKBinaryTarget",
path: "Sources/CaptureSDK.xcframework"
)
]
)