1. 遇到类似:
解决办法:降低这两个库的版本:以前用的6.x的版本,降低版本后,没问题啦。
"@react-navigation/native": "5.5.1",
"@react-navigation/stack": "5.4.2",
2. 遇到类似:
The iOS Simulator deployment targets is set to 7.0,
but the range of supported deployment target version
for this platform is 8.0 to 12.1
修改Podfile最下面成这样
post_install do |installer|
react_native_post_install(installer)
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
end
end
end
3. 遇到类似:
Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output xcfilelist
解决办法: