Skip to content

Commit 801a9b2

Browse files
committed
Use local branch of ldk-node to allow 0conf channels
lightningdevkit/ldk-node#69
1 parent ee0c919 commit 801a9b2

File tree

8 files changed

+100
-17
lines changed

8 files changed

+100
-17
lines changed

dailywallet.xcodeproj/project.pbxproj

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
651A53C929F65EF4001441F9 /* LightningDevKitNode in Frameworks */ = {isa = PBXBuildFile; productRef = 651A53C829F65EF4001441F9 /* LightningDevKitNode */; };
1011
6541A524282E69600051B2B0 /* DailyWalletApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6541A523282E69600051B2B0 /* DailyWalletApp.swift */; };
1112
6541A526282E69600051B2B0 /* StartView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6541A525282E69600051B2B0 /* StartView.swift */; };
1213
6541A528282E69620051B2B0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6541A527282E69620051B2B0 /* Assets.xcassets */; };
@@ -23,7 +24,6 @@
2324
658FA38E28CB950A00196EF9 /* ActivityView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 658FA38D28CB950A00196EF9 /* ActivityView.swift */; };
2425
65A85E6628F01D8A00845AE2 /* RequestView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65A85E6528F01D8A00845AE2 /* RequestView.swift */; };
2526
65A85E6828F01F5600845AE2 /* SendView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65A85E6728F01F5500845AE2 /* SendView.swift */; };
26-
65EA783329F142B400384706 /* LightningDevKitNode in Frameworks */ = {isa = PBXBuildFile; productRef = 65EA783229F142B400384706 /* LightningDevKitNode */; };
2727
65EA783529F1431E00384706 /* LDKNodeManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65EA783429F1431E00384706 /* LDKNodeManager.swift */; };
2828
/* End PBXBuildFile section */
2929

@@ -58,6 +58,7 @@
5858
658FA38D28CB950A00196EF9 /* ActivityView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ActivityView.swift; sourceTree = "<group>"; };
5959
65A85E6528F01D8A00845AE2 /* RequestView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RequestView.swift; sourceTree = "<group>"; };
6060
65A85E6728F01F5500845AE2 /* SendView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SendView.swift; sourceTree = "<group>"; };
61+
65E7B48A29F65EA800E3A672 /* swift */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = swift; path = "../../../../Downloads/ldk-node/bindings/swift"; sourceTree = "<group>"; };
6162
65EA783429F1431E00384706 /* LDKNodeManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LDKNodeManager.swift; sourceTree = "<group>"; };
6263
/* End PBXFileReference section */
6364

@@ -66,7 +67,7 @@
6667
isa = PBXFrameworksBuildPhase;
6768
buildActionMask = 2147483647;
6869
files = (
69-
65EA783329F142B400384706 /* LightningDevKitNode in Frameworks */,
70+
651A53C929F65EF4001441F9 /* LightningDevKitNode in Frameworks */,
7071
6541A53E282E70C20051B2B0 /* KeychainAccess in Frameworks */,
7172
658FA38828CB5CEF00196EF9 /* WalletUI in Frameworks */,
7273
);
@@ -78,6 +79,7 @@
7879
6541A517282E69600051B2B0 = {
7980
isa = PBXGroup;
8081
children = (
82+
65E7B48929F65EA800E3A672 /* Packages */,
8183
6541A534282E6A960051B2B0 /* README.md */,
8284
6541A535282E6B710051B2B0 /* .gitignore */,
8385
6541A522282E69600051B2B0 /* dailywallet */,
@@ -187,6 +189,14 @@
187189
path = Payments;
188190
sourceTree = "<group>";
189191
};
192+
65E7B48929F65EA800E3A672 /* Packages */ = {
193+
isa = PBXGroup;
194+
children = (
195+
65E7B48A29F65EA800E3A672 /* swift */,
196+
);
197+
name = Packages;
198+
sourceTree = "<group>";
199+
};
190200
/* End PBXGroup section */
191201

192202
/* Begin PBXNativeTarget section */
@@ -207,7 +217,7 @@
207217
packageProductDependencies = (
208218
6541A53D282E70C20051B2B0 /* KeychainAccess */,
209219
658FA38728CB5CEF00196EF9 /* WalletUI */,
210-
65EA783229F142B400384706 /* LightningDevKitNode */,
220+
651A53C829F65EF4001441F9 /* LightningDevKitNode */,
211221
);
212222
productName = dailywallet;
213223
productReference = 6541A520282E69600051B2B0 /* Daily Wallet.app */;
@@ -240,7 +250,6 @@
240250
packageReferences = (
241251
6541A53C282E70C20051B2B0 /* XCRemoteSwiftPackageReference "KeychainAccess" */,
242252
658FA38628CB5CEF00196EF9 /* XCRemoteSwiftPackageReference "WalletUI" */,
243-
65EA783129F142B400384706 /* XCRemoteSwiftPackageReference "ldk-node" */,
244253
);
245254
productRefGroup = 6541A521282E69600051B2B0 /* Products */;
246255
projectDirPath = "";
@@ -507,17 +516,13 @@
507516
kind = branch;
508517
};
509518
};
510-
65EA783129F142B400384706 /* XCRemoteSwiftPackageReference "ldk-node" */ = {
511-
isa = XCRemoteSwiftPackageReference;
512-
repositoryURL = "https://github.com/jurvis/ldk-node";
513-
requirement = {
514-
kind = upToNextMajorVersion;
515-
minimumVersion = 0.0.2;
516-
};
517-
};
518519
/* End XCRemoteSwiftPackageReference section */
519520

520521
/* Begin XCSwiftPackageProductDependency section */
522+
651A53C829F65EF4001441F9 /* LightningDevKitNode */ = {
523+
isa = XCSwiftPackageProductDependency;
524+
productName = LightningDevKitNode;
525+
};
521526
6541A53D282E70C20051B2B0 /* KeychainAccess */ = {
522527
isa = XCSwiftPackageProductDependency;
523528
package = 6541A53C282E70C20051B2B0 /* XCRemoteSwiftPackageReference "KeychainAccess" */;
@@ -528,11 +533,6 @@
528533
package = 658FA38628CB5CEF00196EF9 /* XCRemoteSwiftPackageReference "WalletUI" */;
529534
productName = WalletUI;
530535
};
531-
65EA783229F142B400384706 /* LightningDevKitNode */ = {
532-
isa = XCSwiftPackageProductDependency;
533-
package = 65EA783129F142B400384706 /* XCRemoteSwiftPackageReference "ldk-node" */;
534-
productName = LightningDevKitNode;
535-
};
536536
/* End XCSwiftPackageProductDependency section */
537537
};
538538
rootObject = 6541A518282E69600051B2B0 /* Project object */;

ldk_nodeFFI.xcframework/Info.plist

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>LibraryIdentifier</key>
9+
<string>macos-arm64_x86_64</string>
10+
<key>LibraryPath</key>
11+
<string>ldk_nodeFFI.framework</string>
12+
<key>SupportedArchitectures</key>
13+
<array>
14+
<string>arm64</string>
15+
<string>x86_64</string>
16+
</array>
17+
<key>SupportedPlatform</key>
18+
<string>macos</string>
19+
</dict>
20+
<dict>
21+
<key>LibraryIdentifier</key>
22+
<string>ios-arm64_x86_64-simulator</string>
23+
<key>LibraryPath</key>
24+
<string>ldk_nodeFFI.framework</string>
25+
<key>SupportedArchitectures</key>
26+
<array>
27+
<string>arm64</string>
28+
<string>x86_64</string>
29+
</array>
30+
<key>SupportedPlatform</key>
31+
<string>ios</string>
32+
<key>SupportedPlatformVariant</key>
33+
<string>simulator</string>
34+
</dict>
35+
<dict>
36+
<key>LibraryIdentifier</key>
37+
<string>ios-arm64</string>
38+
<key>LibraryPath</key>
39+
<string>ldk_nodeFFI.framework</string>
40+
<key>SupportedArchitectures</key>
41+
<array>
42+
<string>arm64</string>
43+
</array>
44+
<key>SupportedPlatform</key>
45+
<string>ios</string>
46+
</dict>
47+
</array>
48+
<key>CFBundlePackageType</key>
49+
<string>XFWK</string>
50+
<key>XCFrameworkFormatVersion</key>
51+
<string>1.0</string>
52+
</dict>
53+
</plist>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// This is the "umbrella header" for our combined Rust code library.
2+
// It needs to import all of the individual headers.
3+
4+
#import "ldk_nodeFFI.h"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
framework module ldk_nodeFFI {
2+
umbrella header "ldk_nodeFFI-umbrella.h"
3+
4+
export *
5+
module * { export * }
6+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// This is the "umbrella header" for our combined Rust code library.
2+
// It needs to import all of the individual headers.
3+
4+
#import "ldk_nodeFFI.h"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
framework module ldk_nodeFFI {
2+
umbrella header "ldk_nodeFFI-umbrella.h"
3+
4+
export *
5+
module * { export * }
6+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// This is the "umbrella header" for our combined Rust code library.
2+
// It needs to import all of the individual headers.
3+
4+
#import "ldk_nodeFFI.h"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
framework module ldk_nodeFFI {
2+
umbrella header "ldk_nodeFFI-umbrella.h"
3+
4+
export *
5+
module * { export * }
6+
}

0 commit comments

Comments
 (0)