- Podfile 내에 최하단에 이를 추가합니다 - installer.pods_project.targets.each: 통해서 모든 Pod 타겟에 대해 반복합니다. - target.build_configurations.each: 각 타겟의 모든 빌드 설정에 대해 반복합니다. - 각 빌드 설정에서 'IPHONEOS_DEPLOYMENT_TARGET'을 '14.3'으로 설정합니다.
post_install do |installer|
# <https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202>
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
// 추가
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.3'
end
end
end
end