当前位置:   article > 正文

ReactNative专栏:踩坑日记_react-native 升级0.72.0

react-native 升级0.72.0

1. 遇到类似:

解决办法:降低这两个库的版本:以前用的6.x的版本,降低版本后,没问题啦。

"@react-navigation/native": "5.5.1",
"@react-navigation/stack": "5.4.2",

2. 遇到类似: 

  1. The iOS Simulator deployment targets is set to 7.0,
  2. but the range of supported deployment target version
  3. for this platform is 8.0 to 12.1

修改Podfile最下面成这样

  1. post_install do |installer|
  2. react_native_post_install(installer)
  3. installer.pods_project.targets.each do |target|
  4. target.build_configurations.each do |config|
  5. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
  6. end
  7. end
  8. end

3. 遇到类似:

Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output xcfilelist

解决办法:

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/828935
推荐阅读
相关标签
  

闽ICP备14008679号