Skip to content

Commit 7ec4592

Browse files
committed
fix: exclude x86 from podspec builds
1 parent 36a4f64 commit 7ec4592

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

apps/computer-vision/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ PODS:
13951395
- React-jsiexecutor
13961396
- React-RCTFBReactNativeSpec
13971397
- ReactCommon/turbomodule/core
1398-
- react-native-executorch (20250527131314):
1398+
- react-native-executorch (0.4.2):
13991399
- DoubleConversion
14001400
- glog
14011401
- hermes-engine
@@ -2356,7 +2356,7 @@ SPEC CHECKSUMS:
23562356
React-logger: 8edfcedc100544791cd82692ca5a574240a16219
23572357
React-Mapbuffer: c3f4b608e4a59dd2f6a416ef4d47a14400194468
23582358
React-microtasksnativemodule: 054f34e9b82f02bd40f09cebd4083828b5b2beb6
2359-
react-native-executorch: 4abc1da8235ba6c77f5ebe592b4d7e8724312adf
2359+
react-native-executorch: 30047a5076fa3c91119618147627d895d87af51b
23602360
react-native-image-picker: 8a3f16000e794f5381a7fe47bb48fd8d06741e47
23612361
react-native-safe-area-context: 562163222d999b79a51577eda2ea8ad2c32b4d06
23622362
react-native-skia: b6cb66e99a953dae6880348c92cfb20a76d90b4f

packages/react-native-executorch/react-native-executorch.podspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ Pod::Spec.new do |s|
4848
"-force_load \"#{et_binaries_path}\"/libkernels_custom_simulator.a",
4949
"-force_load \"#{et_binaries_path}\"/libkernels_optimized_simulator.a",
5050
"-force_load \"#{et_binaries_path}\"/libkernels_quantized_simulator.a"
51-
].join(' ')
51+
].join(' '),
52+
53+
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64',
5254
}
5355

5456
s.pod_target_xcconfig = {
@@ -58,6 +60,7 @@ Pod::Spec.new do |s|
5860
'"$(PODS_TARGET_SRCROOT)/third-party/include" '+
5961
'"$(PODS_TARGET_SRCROOT)/common" ',
6062
"CLANG_CXX_LANGUAGE_STANDARD" => "c++20",
63+
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64',
6164
}
6265

6366
s.ios.vendored_frameworks = "ios/ExecutorchLib.xcframework"

0 commit comments

Comments
 (0)