Skip to content

Commit a6828a5

Browse files
feat(swift): add swift package 0.1.0 release
1 parent e45f06c commit a6828a5

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ Cargo.lock
88
uniffi/targets
99
uniffi/wrappers
1010
libanoncreds.xcframework.zip
11-
uniffi/output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift/*.swift
11+
uniffi/output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift/*.swift
12+
.swiftpm
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,22 @@ let package = Package(
1818
.target(
1919
name: "AnoncredsSwift",
2020
dependencies: ["anoncredsFFI"],
21-
path: "AnoncredsSwift/Sources/Swift"
21+
path: "uniffi/output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift"
2222
),
2323
.target(
2424
name: "anoncredsFFI",
2525
dependencies: ["libanoncreds"],
26-
path: "AnoncredsSwift/Sources/C"),
26+
path: "uniffi/output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/C"),
27+
// LOCAL
28+
// .binaryTarget(
29+
// name: "libanoncreds",
30+
// path: "./uniffi/output-frameworks/anoncreds-swift/libanoncreds.xcframework.zip"
31+
// )
32+
// RELEASE
2733
.binaryTarget(
2834
name: "libanoncreds",
29-
path: "./libanoncreds.xcframework.zip"
35+
url: "https://github.com/input-output-hk/anoncreds-rs/releases/download/0.1.0/libanoncreds.xcframework.zip",
36+
checksum: "1a137728ea51214a0159cc05f6820f199ab6d9f9c0be7f8685af69ed65e07b9a"
3037
)
3138
]
3239
)

0 commit comments

Comments
 (0)