Skip to content

Commit cede724

Browse files
committed
Setup xcworkspace for common use
1 parent 14c9358 commit cede724

File tree

6 files changed

+118
-3
lines changed

6 files changed

+118
-3
lines changed

xcode/DirectBindingsApp/DirectBindingsApp.xcodeproj/project.pbxproj

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,6 @@
716716
07BBC77126D0272D000D96C4 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 07BBC77026D0272D000D96C4 /* Preview Assets.xcassets */; };
717717
07BBC77C26D0272D000D96C4 /* DirectBindingsAppTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07BBC77B26D0272D000D96C4 /* DirectBindingsAppTests.swift */; };
718718
07BBC78726D0272D000D96C4 /* DirectBindingsAppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07BBC78626D0272D000D96C4 /* DirectBindingsAppUITests.swift */; };
719-
07BBCB1926D034B7000D96C4 /* libldk.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 07BBCB1826D034B1000D96C4 /* libldk.a */; };
720719
07BBCB1B26D03578000D96C4 /* ldk_net.c in Sources */ = {isa = PBXBuildFile; fileRef = 07BBCAFD26D029AB000D96C4 /* ldk_net.c */; };
721720
07BBCB1F26D03579000D96C4 /* ldk_net.c in Sources */ = {isa = PBXBuildFile; fileRef = 07BBCAFD26D029AB000D96C4 /* ldk_net.c */; };
722721
07BBCB3926D036AC000D96C4 /* ChannelManagerConstructor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07BBCB3526D036AC000D96C4 /* ChannelManagerConstructor.swift */; };
@@ -730,6 +729,9 @@
730729
2DD11C86114C6827D6E338A2 /* BlockchainObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 076D2A6D28039ACB00970AFC /* BlockchainObserver.swift */; };
731730
2DD11F1338488839D8955B7A /* PolarIntegrationTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DD1172C8DF0B244CF69B0FA /* PolarIntegrationTest.swift */; };
732731
2DD11F99CF6E547FA7FB9225 /* RegtestBlockchainManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 076D2A6B280399F500970AFC /* RegtestBlockchainManager.swift */; };
732+
754BD65D28317F5A0050F361 /* LDKFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 754BD65C28317F5A0050F361 /* LDKFramework.framework */; };
733+
754BD65E28317F5A0050F361 /* LDKFramework.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 754BD65C28317F5A0050F361 /* LDKFramework.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
734+
754BD661283181290050F361 /* LDKFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 754BD660283181290050F361 /* LDKFramework.framework */; };
733735
/* End PBXBuildFile section */
734736

735737
/* Begin PBXContainerItemProxy section */
@@ -749,6 +751,20 @@
749751
};
750752
/* End PBXContainerItemProxy section */
751753

754+
/* Begin PBXCopyFilesBuildPhase section */
755+
754BD65F28317F5A0050F361 /* Embed Frameworks */ = {
756+
isa = PBXCopyFilesBuildPhase;
757+
buildActionMask = 2147483647;
758+
dstPath = "";
759+
dstSubfolderSpec = 10;
760+
files = (
761+
754BD65E28317F5A0050F361 /* LDKFramework.framework in Embed Frameworks */,
762+
);
763+
name = "Embed Frameworks";
764+
runOnlyForDeploymentPostprocessing = 0;
765+
};
766+
/* End PBXCopyFilesBuildPhase section */
767+
752768
/* Begin PBXFileReference section */
753769
074A2DCB26D970D400370D0B /* RegtestBroadcasterInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RegtestBroadcasterInterface.swift; sourceTree = "<group>"; };
754770
074A2DCC26D970D500370D0B /* RegtestChannelManagerPersister.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RegtestChannelManagerPersister.swift; sourceTree = "<group>"; };
@@ -1138,6 +1154,8 @@
11381154
28F51749280E7903009A7D10 /* CombineUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CombineUtils.swift; sourceTree = "<group>"; };
11391155
2DD1159E9DE3166EE7B79886 /* PolarIntegrationSample.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PolarIntegrationSample.swift; sourceTree = "<group>"; };
11401156
2DD1172C8DF0B244CF69B0FA /* PolarIntegrationTest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PolarIntegrationTest.swift; sourceTree = "<group>"; };
1157+
754BD65C28317F5A0050F361 /* LDKFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = LDKFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; };
1158+
754BD660283181290050F361 /* LDKFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = LDKFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; };
11411159
/* End PBXFileReference section */
11421160

11431161
/* Begin PBXFrameworksBuildPhase section */
@@ -1146,15 +1164,16 @@
11461164
buildActionMask = 2147483647;
11471165
files = (
11481166
076D1D2B27F5163500970AFC /* Crypto in Frameworks */,
1149-
07BBCB1926D034B7000D96C4 /* libldk.a in Frameworks */,
11501167
07C753F326D9560200081BF8 /* PromiseKit in Frameworks */,
1168+
754BD65D28317F5A0050F361 /* LDKFramework.framework in Frameworks */,
11511169
);
11521170
runOnlyForDeploymentPostprocessing = 0;
11531171
};
11541172
07BBC77426D0272D000D96C4 /* Frameworks */ = {
11551173
isa = PBXFrameworksBuildPhase;
11561174
buildActionMask = 2147483647;
11571175
files = (
1176+
754BD661283181290050F361 /* LDKFramework.framework in Frameworks */,
11581177
);
11591178
runOnlyForDeploymentPostprocessing = 0;
11601179
};
@@ -1650,6 +1669,8 @@
16501669
07BBCB1726D034B1000D96C4 /* Frameworks */ = {
16511670
isa = PBXGroup;
16521671
children = (
1672+
754BD660283181290050F361 /* LDKFramework.framework */,
1673+
754BD65C28317F5A0050F361 /* LDKFramework.framework */,
16531674
07BBCB1A26D03571000D96C4 /* libresolv.tbd */,
16541675
07BBCB1826D034B1000D96C4 /* libldk.a */,
16551676
);
@@ -1710,6 +1731,7 @@
17101731
07BBC76226D02727000D96C4 /* Sources */,
17111732
07BBC76326D02727000D96C4 /* Frameworks */,
17121733
07BBC76426D02727000D96C4 /* Resources */,
1734+
754BD65F28317F5A0050F361 /* Embed Frameworks */,
17131735
);
17141736
buildRules = (
17151737
);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1330"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
</BuildAction>
9+
<TestAction
10+
buildConfiguration = "Debug"
11+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
12+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
13+
shouldUseLaunchSchemeArgsEnv = "YES">
14+
<Testables>
15+
<TestableReference
16+
skipped = "NO">
17+
<BuildableReference
18+
BuildableIdentifier = "primary"
19+
BlueprintIdentifier = "07BBC77626D0272D000D96C4"
20+
BuildableName = "DirectBindingsAppTests.xctest"
21+
BlueprintName = "DirectBindingsAppTests"
22+
ReferencedContainer = "container:DirectBindingsApp.xcodeproj">
23+
</BuildableReference>
24+
</TestableReference>
25+
</Testables>
26+
</TestAction>
27+
<LaunchAction
28+
buildConfiguration = "Debug"
29+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
30+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
31+
launchStyle = "0"
32+
useCustomWorkingDirectory = "NO"
33+
ignoresPersistentStateOnLaunch = "NO"
34+
debugDocumentVersioning = "YES"
35+
debugServiceExtension = "internal"
36+
allowLocationSimulation = "YES">
37+
</LaunchAction>
38+
<ProfileAction
39+
buildConfiguration = "Release"
40+
shouldUseLaunchSchemeArgsEnv = "YES"
41+
savedToolIdentifier = ""
42+
useCustomWorkingDirectory = "NO"
43+
debugDocumentVersioning = "YES">
44+
</ProfileAction>
45+
<AnalyzeAction
46+
buildConfiguration = "Debug">
47+
</AnalyzeAction>
48+
<ArchiveAction
49+
buildConfiguration = "Release"
50+
revealArchiveInOrganizer = "YES">
51+
</ArchiveAction>
52+
</Scheme>

xcode/DirectBindingsApp/DirectBindingsApp/app-batteries/CombineUtils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Foundation
1111
import Combine
1212

1313
extension Publisher {
14-
func asyncMap<T>(
14+
public func asyncMap<T>(
1515
_ transform: @escaping (Output) async throws -> T
1616
) -> Publishers.FlatMap<Future<T, Error>,
1717
Publishers.SetFailureType<Self, Error>> {

xcode/LDKFramework.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

xcode/LDKFramework.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)