File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed
output-frameworks/anoncreds-swift Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ Cargo.lock
88uniffi /targets
99uniffi /wrappers
1010libanoncreds.xcframework.zip
11- * .swift
11+ uniffi / output-frameworks / anoncreds-swift / AnoncredsSwift / Sources / Swift / * .swift
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ zip -r "$dest_dir/$zip_name" "$source_dir/$target_dir_name"
7272
7373echo " Copy .swift binders"
7474rm -f " ./output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift/anoncreds.swift" || true
75+ mkdir -p ./output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift || true
7576mv " ./wrappers/swift/anoncreds/anoncreds.swift" " ./output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift/anoncreds.swift"
7677
7778rm -f " /wrappers/swift/anoncreds/anoncreds.swift" || true
Original file line number Diff line number Diff line change 1+ // swift-tools-version:5.7
2+ import PackageDescription
3+
4+ let package = Package (
5+ name: " AnoncredsSwift " ,
6+ platforms: [
7+ . iOS( . v13) ,
8+ . macOS( . v12)
9+ ] ,
10+ products: [
11+ . library(
12+ name: " AnoncredsSwift " ,
13+ type: . dynamic,
14+ targets: [ " AnoncredsSwift " ]
15+ ) ,
16+ ] ,
17+ targets: [
18+ . target(
19+ name: " AnoncredsSwift " ,
20+ dependencies: [ " anoncredsFFI " ] ,
21+ path: " AnoncredsSwift/Sources/Swift "
22+ ) ,
23+ . target(
24+ name: " anoncredsFFI " ,
25+ dependencies: [ " libanoncreds " ] ,
26+ path: " AnoncredsSwift/Sources/C " ) ,
27+ . binaryTarget(
28+ name: " libanoncreds " ,
29+ path: " ./libanoncreds.xcframework.zip "
30+ )
31+ ]
32+ )
You can’t perform that action at this time.
0 commit comments