File tree Expand file tree Collapse file tree 2 files changed +35
-37
lines changed Expand file tree Collapse file tree 2 files changed +35
-37
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 tag = " 0.1-alpha.1 "
7
+ let checksum = " d91403566498f01cdaaafc07a9360ef661151e64075c6d83bbce4c9b5bfa7cee "
8
+ let url = " https://github.com/lightningdevkit/ldk-node/releases/download/ \( tag) /LDKNodeFFI.xcframework.zip "
9
+
10
+ let package = Package (
11
+ name: " ldk-node " ,
12
+ platforms: [
13
+ . iOS( . v15)
14
+ . macOS ( . v12) ,
15
+ ] ,
16
+ products: [
17
+ // Products define the executables and libraries a package produces, and make them visible to other packages.
18
+ . library(
19
+ name: " LDKNode " ,
20
+ targets: [ " LDKNodeFFI " , " LDKNode " ] ) ,
21
+ ] ,
22
+ targets: [
23
+ . target(
24
+ name: " LDKNode " ,
25
+ dependencies: [ " LDKNodeFFI " ] ,
26
+ path: " ./bindings/swift/Sources " ,
27
+ swiftSettings: [ . unsafeFlags( [ " -suppress-warnings " ] ) ]
28
+ )
29
+ . binaryTarget (
30
+ name: " LDKNodeFFI " ,
31
+ url: url,
32
+ checksum: checksum,
33
+ ) ,
34
+ ]
35
+ )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments