Skip to content

Commit 7fee6b4

Browse files
authored
Merge pull request #280 from synonymdev/arch-fix
fix: explicitly specify supported architectures
2 parents 13c8956 + 89e8fa7 commit 7fee6b4

File tree

119 files changed

+5641517
-451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+5641517
-451
lines changed

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ PODS:
316316
- React-jsinspector (0.72.4)
317317
- React-logger (0.72.4):
318318
- glog
319-
- react-native-ldk (0.0.155):
319+
- react-native-ldk (0.0.156):
320320
- React
321321
- react-native-randombytes (3.6.1):
322322
- React-Core
@@ -621,7 +621,7 @@ SPEC CHECKSUMS:
621621
React-jsiexecutor: c7f826e40fa9cab5d37cab6130b1af237332b594
622622
React-jsinspector: aaed4cf551c4a1c98092436518c2d267b13a673f
623623
React-logger: da1ebe05ae06eb6db4b162202faeafac4b435e77
624-
react-native-ldk: 9ea2f29a6f96cc55f839ee180caf8dc9e58cd6eb
624+
react-native-ldk: d5c30fd86fea6d4675f06575f7d6b0f3eba13e0f
625625
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
626626
react-native-tcp-socket: c1b7297619616b4c9caae6889bcb0aba78086989
627627
React-NativeModulesApple: edb5ace14f73f4969df6e7b1f3e41bef0012740f

lib/ios/Ldk.xcodeproj/project.pbxproj

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,15 @@
166166
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
167167
GCC_WARN_UNUSED_FUNCTION = YES;
168168
GCC_WARN_UNUSED_VARIABLE = YES;
169-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
169+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
170170
MTL_ENABLE_DEBUG_INFO = YES;
171171
ONLY_ACTIVE_ARCH = YES;
172172
SDKROOT = iphoneos;
173+
SWIFT_OBJC_BRIDGING_HEADER = "Ldk-Bridging-Header.h";
174+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
175+
SWIFT_VERSION = 5.0;
176+
VALID_ARCHS = "arm64 arm64e";
177+
EXCLUDED_ARCHS = "armv7 armv7s i386";
173178
};
174179
name = Debug;
175180
};
@@ -209,10 +214,14 @@
209214
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
210215
GCC_WARN_UNUSED_FUNCTION = YES;
211216
GCC_WARN_UNUSED_VARIABLE = YES;
212-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
217+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
213218
MTL_ENABLE_DEBUG_INFO = NO;
214219
SDKROOT = iphoneos;
215220
VALIDATE_PRODUCT = YES;
221+
SWIFT_OBJC_BRIDGING_HEADER = "Ldk-Bridging-Header.h";
222+
SWIFT_VERSION = 5.0;
223+
VALID_ARCHS = "arm64 arm64e";
224+
EXCLUDED_ARCHS = "armv7 armv7s i386";
216225
};
217226
name = Release;
218227
};

lib/ios/LightningDevKit.xcframework/Info.plist

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,42 @@
44
<dict>
55
<key>AvailableLibraries</key>
66
<array>
7+
<dict>
8+
<key>BinaryPath</key>
9+
<string>LightningDevKit.framework/Versions/A/LightningDevKit</string>
10+
<key>DebugSymbolsPath</key>
11+
<string>dSYMs</string>
12+
<key>LibraryIdentifier</key>
13+
<string>macos-arm64_x86_64</string>
14+
<key>LibraryPath</key>
15+
<string>LightningDevKit.framework</string>
16+
<key>SupportedArchitectures</key>
17+
<array>
18+
<string>arm64</string>
19+
<string>x86_64</string>
20+
</array>
21+
<key>SupportedPlatform</key>
22+
<string>macos</string>
23+
</dict>
24+
<dict>
25+
<key>BinaryPath</key>
26+
<string>LightningDevKit.framework/Versions/A/LightningDevKit</string>
27+
<key>DebugSymbolsPath</key>
28+
<string>dSYMs</string>
29+
<key>LibraryIdentifier</key>
30+
<string>ios-arm64_x86_64-maccatalyst</string>
31+
<key>LibraryPath</key>
32+
<string>LightningDevKit.framework</string>
33+
<key>SupportedArchitectures</key>
34+
<array>
35+
<string>arm64</string>
36+
<string>x86_64</string>
37+
</array>
38+
<key>SupportedPlatform</key>
39+
<string>ios</string>
40+
<key>SupportedPlatformVariant</key>
41+
<string>maccatalyst</string>
42+
</dict>
743
<dict>
844
<key>BinaryPath</key>
945
<string>LightningDevKit.framework/LightningDevKit</string>

0 commit comments

Comments
 (0)