File tree Expand file tree Collapse file tree 2 files changed +5741
-0
lines changed Expand file tree Collapse file tree 2 files changed +5741
-0
lines changed Original file line number Diff line number Diff line change
1
+ // swift-tools-version:5.5
2
+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3
+
4
+ import PackageDescription
5
+
6
+ let package = Package (
7
+ name: " bdk-swift " ,
8
+ platforms: [
9
+ . macOS( . v12) ,
10
+ . iOS( . v15)
11
+ ] ,
12
+ products: [
13
+ // Products define the executables and libraries a package produces, and make them visible to other packages.
14
+ . library(
15
+ name: " BitcoinDevKit " ,
16
+ targets: [ " bdkFFI " , " BitcoinDevKit " ] ) ,
17
+ ] ,
18
+ dependencies: [
19
+ // Dependencies declare other packages that this package depends on.
20
+ // .package(url: /* package url */, from: "1.0.0"),
21
+ ] ,
22
+ targets: [
23
+ // Targets are the basic building blocks of a package. A target can define a module or a test suite.
24
+ // Targets can depend on other targets in this package, and on products in packages this package depends on.
25
+ . binaryTarget(
26
+ name: " bdkFFI " ,
27
+ url: " https://github.com/bitcoindevkit/bdk-swift/releases/download/0.32.0/bdkFFI.xcframework.zip " ,
28
+ checksum: " 64f61a09bb7148c71564f8b499dde4a2c169c4ae3892b78b31a983477adb8ec7 " ) ,
29
+ . target(
30
+ name: " BitcoinDevKit " ,
31
+ dependencies: [ " bdkFFI " ] ) ,
32
+ . testTarget(
33
+ name: " BitcoinDevKitTests " ,
34
+ dependencies: [ " BitcoinDevKit " ] ) ,
35
+ ]
36
+ )
You can’t perform that action at this time.
0 commit comments