From 0b4c172c9ccfb14adc265fae7723b6f258eeee5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 20 Jan 2022 19:05:12 +0100 Subject: [PATCH] fix(ios) fix build with Xcode 13 --- ios/Podfile | 7 +++++++ ios/Podfile.lock | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ios/Podfile b/ios/Podfile index c1e217b6f..7001cc48d 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -41,5 +41,12 @@ post_install do |installer| config.build_settings['SUPPORTS_MACCATALYST'] = 'NO' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' end + # https://github.com/facebook/react-native/issues/32351#issuecomment-939157955 + case target.name + when 'RCT-Folly' + target.build_configurations.each do |config| + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0' + end + end end end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 9a59d1d17..a32ab5a85 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -712,6 +712,6 @@ SPEC CHECKSUMS: RNWatch: 99637948ec9b5c9ec5a41920642594ad5ba07e80 Yoga: e7dc4e71caba6472ff48ad7d234389b91dadc280 -PODFILE CHECKSUM: 40b99aeea6fd9b3363170ff85721de7c2a5b26a3 +PODFILE CHECKSUM: 93620e428bb16cc7fb8fd7314c0402e26929b5bf COCOAPODS: 1.11.2