Skip to content

Commit dde5643

Browse files
authored
fix(ios): Pod install regression caused build failure in xcode (#7880)
1 parent 11efb13 commit dde5643

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

playground/ios/Podfile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,18 @@ def all_pods
3535
end
3636

3737
post_install do |installer|
38-
react_native_post_install(
39-
installer,
40-
"../../node_modules/react-native",
41-
:mac_catalyst_enabled => false
42-
)
38+
__apply_Xcode_15_3_flipper_post_install_workaround(installer)
39+
40+
react_native_post_install(installer, "../../node_modules/react-native", :mac_catalyst_enabled => false)
41+
42+
__apply_Xcode_15_unary_binary_error_workaround(installer)
43+
44+
# This is to resolve "'shared_timed_mutex' is unavailable: introduced in iOS 10.0" error
45+
installer.pods_project.targets.each do |t|
46+
t.build_configurations.each do |config|
47+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.4'
48+
end
49+
end
4350
end
4451

4552
def __apply_Xcode_15_3_flipper_post_install_workaround(installer)

0 commit comments

Comments
 (0)