Skip to content

Commit

Permalink
Fix Swift package by moving package file to root
Browse files Browse the repository at this point in the history
It's a requirement by Swift's package manager
  • Loading branch information
sbihel committed Jan 12, 2024
1 parent 675b5df commit 1647a9f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
/generated
.build
9 changes: 5 additions & 4 deletions WalletSdkRs/Package.swift → Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ let package = Package(
],
dependencies: [ ],
targets: [
.binaryTarget(name: "RustFramework", path: "./RustFramework.xcframework"),
.binaryTarget(name: "RustFramework", path: "./WalletSdkRs/RustFramework.xcframework"),
.target(
name: "WalletSdkRs",
dependencies: [
.target(name: "RustFramework")
]
),
],
path: "./WalletSdkRs/Sources/WalletSdkRs"
)
]
)
)
1 change: 0 additions & 1 deletion WalletSdkRs/.gitignore

This file was deleted.

Binary file not shown.
Binary file not shown.

0 comments on commit 1647a9f

Please sign in to comment.