fix(ios) fix build with Xcode 13

This commit is contained in:
Saúl Ibarra Corretgé 2022-01-20 19:05:12 +01:00 committed by Saúl Ibarra Corretgé
parent 28f5ddc81d
commit 0b4c172c9c
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -712,6 +712,6 @@ SPEC CHECKSUMS:
RNWatch: 99637948ec9b5c9ec5a41920642594ad5ba07e80
Yoga: e7dc4e71caba6472ff48ad7d234389b91dadc280
PODFILE CHECKSUM: 40b99aeea6fd9b3363170ff85721de7c2a5b26a3
PODFILE CHECKSUM: 93620e428bb16cc7fb8fd7314c0402e26929b5bf
COCOAPODS: 1.11.2