-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
97 lines (83 loc) · 3.04 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
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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "VirgilCryptoWrapper",
platforms: [
.macOS(.v10_10), .iOS(.v11), .tvOS(.v11), .watchOS(.v4)
],
products: [
.library(
name: "VirgilCryptoFoundation",
targets: ["VirgilCryptoFoundation"]),
.library(
name: "VirgilCryptoPythia",
targets: ["VirgilCryptoPythia"]),
.library(
name: "VirgilCryptoRatchet",
targets: ["VirgilCryptoRatchet"]),
],
targets: [
//
// VSCCrypto
//
.binaryTarget(
name: "VSCCommon",
url: "https://github.com/VirgilSecurity/virgil-crypto-c/releases/download/v0.16.3/VSCCommon.xcframework.zip",
checksum: "4eabaf85837889767652f87f7ecde7edab919752f62954938e30658cdb703939"
),
.binaryTarget(
name: "VSCFoundation",
url: "https://github.com/VirgilSecurity/virgil-crypto-c/releases/download/v0.16.3/VSCFoundation.xcframework.zip",
checksum: "7bcbac6b03b0d65245fb26febd1f28294b5314e815040e57e90f868f6b475924"
),
.binaryTarget(
name: "VSCPythia",
url: "https://github.com/VirgilSecurity/virgil-crypto-c/releases/download/v0.16.3/VSCPythia.xcframework.zip",
checksum: "51ac1cebec7e1d70c7a002ebff1f9c4313d7d4edfd232ce6898011b9996ea323"
),
.binaryTarget(
name: "VSCRatchet",
url: "https://github.com/VirgilSecurity/virgil-crypto-c/releases/download/v0.16.3/VSCRatchet.xcframework.zip",
checksum: "7c2389d438b561726e438734ef20c19601ace8c4c391607e23465e2586e7f837"
),
//
// VirgilCryptoFoundation
//
.target(
name: "VirgilCryptoFoundation",
dependencies: ["VSCCommon", "VSCFoundation"],
path: "VirgilCryptoFoundation",
exclude: ["Info.plist"]),
.testTarget(
name: "VirgilCryptoFoundationTests",
dependencies: ["VirgilCryptoFoundation"],
path: "VirgilCryptoFoundationTests",
exclude: ["Info.plist"]),
//
// VirgilCryptoPythia
//
.target(
name: "VirgilCryptoPythia",
dependencies: ["VirgilCryptoFoundation", "VSCPythia"],
path: "VirgilCryptoPythia",
exclude: ["Info.plist"]),
.testTarget(
name: "VirgilCryptoPythiaTests",
dependencies: ["VirgilCryptoPythia"],
path: "VirgilCryptoPythiaTests",
exclude: ["Info.plist"]),
//
// VirgilCryptoRatchet
//
.target(
name: "VirgilCryptoRatchet",
dependencies: ["VirgilCryptoFoundation", "VSCRatchet"],
path: "VirgilCryptoRatchet",
exclude: ["Info.plist"]),
.testTarget(
name: "VirgilCryptoRatchetTests",
dependencies: ["VirgilCryptoRatchet"],
path: "VirgilCryptoRatchetTests",
exclude: ["Info.plist"]),
]
)