解决CFBundleIdentifier Does Not Exist

mac 下运行react-native run-ios 报错 CFBundleIdentifier", Does Not Exist

1.产生原因:/Users/你的用户名/.rncache中boost_1_63_0.tar.gz,double-conversion-1.1.5.tar.gz,folly-2016.09.26.00.tar.gz,glog-0.3.4.tar.gz文件不完整。或者node_modules/react-native/third-party 文件不完整。

  1. github解答 ,似乎大多数点赞的是路径问题,配置真是一大难题!

  2. 如果以上问题仍然不能解决,那么你可以重新删除,编译环境生成项目,然后使用梯子代理全局模式下npm install(或者使用yarn),全局模式下最新版react-native并未出现 CFBundleIdentifier问题。

kkdemian
hyperliquid