Skip to content

Commit 09eba8c

Browse files
committed
Rename project to LDKFramework
1 parent 654555d commit 09eba8c

File tree

4 files changed

+38
-27
lines changed

4 files changed

+38
-27
lines changed

xcode/LDK/LDK.xcodeproj/project.pbxproj renamed to xcode/LDK/LDKFramework.xcodeproj/project.pbxproj

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
/* Begin PBXBuildFile section */
1010
754BCB5928308BFD0050F361 /* ldk_net.c in Sources */ = {isa = PBXBuildFile; fileRef = 754BCB5428308BFD0050F361 /* ldk_net.c */; };
11-
754BCB5A28308BFD0050F361 /* ldk_rust_types.h in Headers */ = {isa = PBXBuildFile; fileRef = 754BCB5528308BFD0050F361 /* ldk_rust_types.h */; };
12-
754BCB5B28308BFD0050F361 /* ldk_ver.h in Headers */ = {isa = PBXBuildFile; fileRef = 754BCB5628308BFD0050F361 /* ldk_ver.h */; };
13-
754BCB5C28308BFD0050F361 /* lightning.h in Headers */ = {isa = PBXBuildFile; fileRef = 754BCB5728308BFD0050F361 /* lightning.h */; };
14-
754BCB5D28308BFD0050F361 /* ldk_net.h in Headers */ = {isa = PBXBuildFile; fileRef = 754BCB5828308BFD0050F361 /* ldk_net.h */; };
11+
754BCB5A28308BFD0050F361 /* ldk_rust_types.h in Headers */ = {isa = PBXBuildFile; fileRef = 754BCB5528308BFD0050F361 /* ldk_rust_types.h */; settings = {ATTRIBUTES = (Public, ); }; };
12+
754BCB5B28308BFD0050F361 /* ldk_ver.h in Headers */ = {isa = PBXBuildFile; fileRef = 754BCB5628308BFD0050F361 /* ldk_ver.h */; settings = {ATTRIBUTES = (Public, ); }; };
13+
754BCB5C28308BFD0050F361 /* lightning.h in Headers */ = {isa = PBXBuildFile; fileRef = 754BCB5728308BFD0050F361 /* lightning.h */; settings = {ATTRIBUTES = (Public, ); }; };
14+
754BCB5D28308BFD0050F361 /* ldk_net.h in Headers */ = {isa = PBXBuildFile; fileRef = 754BCB5828308BFD0050F361 /* ldk_net.h */; settings = {ATTRIBUTES = (Public, ); }; };
1515
754BCCB528308C490050F361 /* PaymentSendFailure.swift in Sources */ = {isa = PBXBuildFile; fileRef = 754BCB6028308C480050F361 /* PaymentSendFailure.swift */; };
1616
754BCCB628308C490050F361 /* Option_u64Z.swift in Sources */ = {isa = PBXBuildFile; fileRef = 754BCB6128308C480050F361 /* Option_u64Z.swift */; };
1717
754BCCB728308C490050F361 /* Fallback.swift in Sources */ = {isa = PBXBuildFile; fileRef = 754BCB6228308C480050F361 /* Fallback.swift */; };
@@ -354,11 +354,11 @@
354354
754BCE0D28308C5C0050F361 /* ChannelManagerConstructor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 754BCE0928308C5C0050F361 /* ChannelManagerConstructor.swift */; };
355355
754BCE0E28308C5C0050F361 /* UtilMethods.swift in Sources */ = {isa = PBXBuildFile; fileRef = 754BCE0A28308C5C0050F361 /* UtilMethods.swift */; };
356356
754BCE1128308D700050F361 /* libldk.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 754BCE1028308D6D0050F361 /* libldk.a */; };
357-
75D7576A28306A430005405B /* LDK.h in Headers */ = {isa = PBXBuildFile; fileRef = 75D7576928306A430005405B /* LDK.h */; settings = {ATTRIBUTES = (Public, ); }; };
357+
75D7576A28306A430005405B /* LDKFramework.h in Headers */ = {isa = PBXBuildFile; fileRef = 75D7576928306A430005405B /* LDKFramework.h */; settings = {ATTRIBUTES = (Public, ); }; };
358358
/* End PBXBuildFile section */
359359

360360
/* Begin PBXContainerItemProxy section */
361-
75D7577528306D790005405B /* PBXContainerItemProxy */ = {
361+
754BCE1528309A090050F361 /* PBXContainerItemProxy */ = {
362362
isa = PBXContainerItemProxy;
363363
containerPortal = 75D7575D28306A430005405B /* Project object */;
364364
proxyType = 1;
@@ -716,8 +716,8 @@
716716
754BCE0928308C5C0050F361 /* ChannelManagerConstructor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChannelManagerConstructor.swift; sourceTree = "<group>"; };
717717
754BCE0A28308C5C0050F361 /* UtilMethods.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UtilMethods.swift; sourceTree = "<group>"; };
718718
754BCE1028308D6D0050F361 /* libldk.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libldk.a; sourceTree = "<group>"; };
719-
75D7576628306A430005405B /* LDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LDK.framework; sourceTree = BUILT_PRODUCTS_DIR; };
720-
75D7576928306A430005405B /* LDK.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LDK.h; sourceTree = "<group>"; };
719+
75D7576628306A430005405B /* LDKFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = LDKFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; };
720+
75D7576928306A430005405B /* LDKFramework.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LDKFramework.h; sourceTree = "<group>"; };
721721
/* End PBXFileReference section */
722722

723723
/* Begin PBXFrameworksBuildPhase section */
@@ -1153,7 +1153,7 @@
11531153
isa = PBXGroup;
11541154
children = (
11551155
754BCB5228308BDD0050F361 /* LDKFramework.modulemap */,
1156-
75D7576828306A430005405B /* LDK */,
1156+
75D7576828306A430005405B /* LDKFramework */,
11571157
75D7576728306A430005405B /* Products */,
11581158
754BCE0F28308D6D0050F361 /* Frameworks */,
11591159
);
@@ -1162,20 +1162,20 @@
11621162
75D7576728306A430005405B /* Products */ = {
11631163
isa = PBXGroup;
11641164
children = (
1165-
75D7576628306A430005405B /* LDK.framework */,
1165+
75D7576628306A430005405B /* LDKFramework.framework */,
11661166
);
11671167
name = Products;
11681168
sourceTree = "<group>";
11691169
};
1170-
75D7576828306A430005405B /* LDK */ = {
1170+
75D7576828306A430005405B /* LDKFramework */ = {
11711171
isa = PBXGroup;
11721172
children = (
1173-
754BCE0628308C5C0050F361 /* batteries */,
11741173
754BCB5E28308C480050F361 /* LDK */,
1174+
754BCE0628308C5C0050F361 /* batteries */,
11751175
754BCB5328308BEF0050F361 /* headers */,
1176-
75D7576928306A430005405B /* LDK.h */,
1176+
75D7576928306A430005405B /* LDKFramework.h */,
11771177
);
1178-
path = LDK;
1178+
path = LDKFramework;
11791179
sourceTree = "<group>";
11801180
};
11811181
/* End PBXGroup section */
@@ -1187,7 +1187,7 @@
11871187
files = (
11881188
754BCB5A28308BFD0050F361 /* ldk_rust_types.h in Headers */,
11891189
754BCB5C28308BFD0050F361 /* lightning.h in Headers */,
1190-
75D7576A28306A430005405B /* LDK.h in Headers */,
1190+
75D7576A28306A430005405B /* LDKFramework.h in Headers */,
11911191
754BCB5B28308BFD0050F361 /* ldk_ver.h in Headers */,
11921192
754BCB5D28308BFD0050F361 /* ldk_net.h in Headers */,
11931193
);
@@ -1213,9 +1213,9 @@
12131213
/* End PBXLegacyTarget section */
12141214

12151215
/* Begin PBXNativeTarget section */
1216-
75D7576528306A430005405B /* LDK */ = {
1216+
75D7576528306A430005405B /* LDKFramework */ = {
12171217
isa = PBXNativeTarget;
1218-
buildConfigurationList = 75D7576D28306A430005405B /* Build configuration list for PBXNativeTarget "LDK" */;
1218+
buildConfigurationList = 75D7576D28306A430005405B /* Build configuration list for PBXNativeTarget "LDKFramework" */;
12191219
buildPhases = (
12201220
75D7576128306A430005405B /* Headers */,
12211221
75D7576228306A430005405B /* Sources */,
@@ -1225,11 +1225,11 @@
12251225
buildRules = (
12261226
);
12271227
dependencies = (
1228-
75D7577628306D790005405B /* PBXTargetDependency */,
1228+
754BCE1628309A090050F361 /* PBXTargetDependency */,
12291229
);
1230-
name = LDK;
1230+
name = LDKFramework;
12311231
productName = LDK;
1232-
productReference = 75D7576628306A430005405B /* LDK.framework */;
1232+
productReference = 75D7576628306A430005405B /* LDKFramework.framework */;
12331233
productType = "com.apple.product-type.framework";
12341234
};
12351235
/* End PBXNativeTarget section */
@@ -1249,7 +1249,7 @@
12491249
};
12501250
};
12511251
};
1252-
buildConfigurationList = 75D7576028306A430005405B /* Build configuration list for PBXProject "LDK" */;
1252+
buildConfigurationList = 75D7576028306A430005405B /* Build configuration list for PBXProject "LDKFramework" */;
12531253
compatibilityVersion = "Xcode 13.0";
12541254
developmentRegion = en;
12551255
hasScannedForEncodings = 0;
@@ -1262,7 +1262,7 @@
12621262
projectDirPath = "";
12631263
projectRoot = "";
12641264
targets = (
1265-
75D7576528306A430005405B /* LDK */,
1265+
75D7576528306A430005405B /* LDKFramework */,
12661266
75D7577128306AD40005405B /* libldk */,
12671267
);
12681268
};
@@ -1631,10 +1631,10 @@
16311631
/* End PBXSourcesBuildPhase section */
16321632

16331633
/* Begin PBXTargetDependency section */
1634-
75D7577628306D790005405B /* PBXTargetDependency */ = {
1634+
754BCE1628309A090050F361 /* PBXTargetDependency */ = {
16351635
isa = PBXTargetDependency;
16361636
target = 75D7577128306AD40005405B /* libldk */;
1637-
targetProxy = 75D7577528306D790005405B /* PBXContainerItemProxy */;
1637+
targetProxy = 754BCE1528309A090050F361 /* PBXContainerItemProxy */;
16381638
};
16391639
/* End PBXTargetDependency section */
16401640

@@ -1762,13 +1762,15 @@
17621762
75D7576E28306A430005405B /* Debug */ = {
17631763
isa = XCBuildConfiguration;
17641764
buildSettings = {
1765+
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
17651766
CODE_SIGN_STYLE = Automatic;
17661767
CURRENT_PROJECT_VERSION = 1;
17671768
DEFINES_MODULE = YES;
17681769
DYLIB_COMPATIBILITY_VERSION = 1;
17691770
DYLIB_CURRENT_VERSION = 1;
17701771
DYLIB_INSTALL_NAME_BASE = "@rpath";
17711772
GENERATE_INFOPLIST_FILE = YES;
1773+
HEADER_SEARCH_PATHS = "${PROJECT_DIR}";
17721774
INFOPLIST_KEY_NSHumanReadableCopyright = "";
17731775
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
17741776
LD_RUNPATH_SEARCH_PATHS = (
@@ -1781,9 +1783,11 @@
17811783
"$(PROJECT_DIR)",
17821784
);
17831785
MARKETING_VERSION = 1.0;
1786+
MODULEMAP_FILE = LDKFramework.modulemap;
17841787
PRODUCT_BUNDLE_IDENTIFIER = co.undertide.LDK;
17851788
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
17861789
SKIP_INSTALL = YES;
1790+
SUPPORTS_MACCATALYST = NO;
17871791
SWIFT_EMIT_LOC_STRINGS = YES;
17881792
SWIFT_VERSION = 5.0;
17891793
TARGETED_DEVICE_FAMILY = "1,2";
@@ -1793,13 +1797,15 @@
17931797
75D7576F28306A430005405B /* Release */ = {
17941798
isa = XCBuildConfiguration;
17951799
buildSettings = {
1800+
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
17961801
CODE_SIGN_STYLE = Automatic;
17971802
CURRENT_PROJECT_VERSION = 1;
17981803
DEFINES_MODULE = YES;
17991804
DYLIB_COMPATIBILITY_VERSION = 1;
18001805
DYLIB_CURRENT_VERSION = 1;
18011806
DYLIB_INSTALL_NAME_BASE = "@rpath";
18021807
GENERATE_INFOPLIST_FILE = YES;
1808+
HEADER_SEARCH_PATHS = "${PROJECT_DIR}";
18031809
INFOPLIST_KEY_NSHumanReadableCopyright = "";
18041810
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
18051811
LD_RUNPATH_SEARCH_PATHS = (
@@ -1812,9 +1818,11 @@
18121818
"$(PROJECT_DIR)",
18131819
);
18141820
MARKETING_VERSION = 1.0;
1821+
MODULEMAP_FILE = LDKFramework.modulemap;
18151822
PRODUCT_BUNDLE_IDENTIFIER = co.undertide.LDK;
18161823
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
18171824
SKIP_INSTALL = YES;
1825+
SUPPORTS_MACCATALYST = NO;
18181826
SWIFT_EMIT_LOC_STRINGS = YES;
18191827
SWIFT_VERSION = 5.0;
18201828
TARGETED_DEVICE_FAMILY = "1,2";
@@ -1840,7 +1848,7 @@
18401848
/* End XCBuildConfiguration section */
18411849

18421850
/* Begin XCConfigurationList section */
1843-
75D7576028306A430005405B /* Build configuration list for PBXProject "LDK" */ = {
1851+
75D7576028306A430005405B /* Build configuration list for PBXProject "LDKFramework" */ = {
18441852
isa = XCConfigurationList;
18451853
buildConfigurations = (
18461854
75D7576B28306A430005405B /* Debug */,
@@ -1849,7 +1857,7 @@
18491857
defaultConfigurationIsVisible = 0;
18501858
defaultConfigurationName = Release;
18511859
};
1852-
75D7576D28306A430005405B /* Build configuration list for PBXNativeTarget "LDK" */ = {
1860+
75D7576D28306A430005405B /* Build configuration list for PBXNativeTarget "LDKFramework" */ = {
18531861
isa = XCConfigurationList;
18541862
buildConfigurations = (
18551863
75D7576E28306A430005405B /* Debug */,

xcode/LDK/LDK.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to xcode/LDK/LDKFramework.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

xcode/LDK/LDK/LDK.h renamed to xcode/LDK/LDKFramework/LDKFramework.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
#import <Foundation/Foundation.h>
99

10+
#import "lightning.h"
11+
#import "ldk_net.h"
12+
1013
//! Project version number for LDK.
1114
FOUNDATION_EXPORT double LDKVersionNumber;
1215

0 commit comments

Comments
 (0)