mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-08-08 06:56:10 +00:00
fix: add secp256k1 dependency to resolve spm import error (#429)
This commit is contained in:
parent
29f1308e37
commit
04c2b0caa6
14
Package.resolved
Normal file
14
Package.resolved
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"pins" : [
|
||||
{
|
||||
"identity" : "swift-secp256k1",
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/21-DOT-DEV/swift-secp256k1",
|
||||
"state" : {
|
||||
"revision" : "8c62aba8a3011c9bcea232e5ee007fb0b34a15e2",
|
||||
"version" : "0.21.1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"version" : 2
|
||||
}
|
||||
@ -14,9 +14,15 @@ let package = Package(
|
||||
targets: ["bitchat"]
|
||||
),
|
||||
],
|
||||
dependencies:[
|
||||
.package(url: "https://github.com/21-DOT-DEV/swift-secp256k1", exact: "0.21.1"),
|
||||
],
|
||||
targets: [
|
||||
.executableTarget(
|
||||
name: "bitchat",
|
||||
dependencies: [
|
||||
.product(name: "P256K", package: "swift-secp256k1")
|
||||
],
|
||||
path: "bitchat",
|
||||
exclude: [
|
||||
"Info.plist",
|
||||
@ -27,4 +33,4 @@ let package = Package(
|
||||
]
|
||||
),
|
||||
]
|
||||
)
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user