1 、 RN 启动崩溃 
 
 https://blog.csdn.net/qq_31915745/article/details/108125671 
 
 2、修改报红⻚  
  https://blog.csdn.net/weixin_43969056/article/details/104757926 
   3 、编译不过去提示 glog-0.3.5 有问题,  
  找到 / 项⽬ /node_modules/react-native/scripts/ ios-install-third-party.sh 
  下载⾥⾯的⽂件放在 ~/.rncache  ⽬录下就⾏ 
   4 、 BVLinearGradient was not found in the UIManager ? 错误 
  执⾏下⾯的命令  react-native link react-native-linear-gradient 
   5 、  .babelrc  ⽂件改为  
  {  
  "presets": [ "module:metro-react-native-babel-preset" ] 
  } 
   6 、  
  cd node_modules/react-native/third-party/glog-0.3.5 
  ../../scripts/ios-configure-glog.sh 
   7 、 Xcode 13 不兼容  
  a)、https://blog.csdn.net/cainiao1412/article/details/125080941 
  b)、package.json文件增加 
   "resolutions": {  
  "component-emitter": "1.3.1" 
  }, 
   8. bundle  路径错误,找不到 main.jsbundle 
  a) 、 iOS  ⽂件夹下建⽴、 bundle ⽂件夹 
        根目录下建立bundle ⽂件夹 
  
 b)、修改ios/项目名字/AppDelegate.m文件中 
  jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 
   c) 、执⾏:  
  react-native bundle --entry-file index.ios.js --bundle-output ./bundle/ 
  main.jsbundle --platform ios --assets-dest ./bundle --dev false