forked from hyperledger/aries-uniffi-wrappers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
58 lines (57 loc) · 2 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
// swift-tools-version: 5.7
import PackageDescription
let package = Package(
name: "aries-uniffi-wrappers",
platforms: [
.macOS(.v10_15),
.iOS(.v15),
],
products: [
.library(
name: "Anoncreds",
targets: ["Anoncreds"]),
.library(
name: "Askar",
targets: ["Askar"]),
.library(
name: "IndyVdr",
targets: ["IndyVdr"]),
],
dependencies: [
],
targets: [
.target(
name: "Anoncreds",
dependencies: ["anoncreds_uniffiFFI"]),
.testTarget(
name: "AnoncredsTests",
dependencies: ["Anoncreds"]),
.binaryTarget(
name: "anoncreds_uniffiFFI",
url: "https://github.com/hyperledger/aries-uniffi-wrappers/releases/download/0.1.1-binary/anoncreds_uniffiFFI.xcframework.zip",
checksum: "41f8d517d89f57ca28598d936b8743c8e378ef929a58ac00bdbf77dffe1e19b7"),
.target(
name: "Askar",
dependencies: ["askar_uniffiFFI"]),
.testTarget(
name: "AskarTests",
dependencies: ["Askar"]),
.binaryTarget(
name: "askar_uniffiFFI",
url: "https://github.com/hyperledger/aries-uniffi-wrappers/releases/download/0.1.1-binary/askar_uniffiFFI.xcframework.zip",
checksum: "761220bc486d14c371c84c30481c7b07b4e8dc53a0e61cdd3e67efa842bc73ab"),
.target(
name: "IndyVdr",
dependencies: ["indy_vdr_uniffiFFI"]),
.testTarget(
name: "IndyVdrTests",
dependencies: ["IndyVdr"],
resources: [
.copy("resources/genesis_sov_buildernet.txn")
]),
.binaryTarget(
name: "indy_vdr_uniffiFFI",
url: "https://github.com/hyperledger/aries-uniffi-wrappers/releases/download/0.1.1-binary/indy_vdr_uniffiFFI.xcframework.zip",
checksum: "076821ffbeb291e2541dbe8eb6186e2583cbadd68cde144c999cf0362fe9a19c"),
]
)