react-native 0.45-0.57第一次xcode运行慢,错误提示:
Error:
Build failed: Unpacking /Users/zjy/.rncache/boost_1_63_0.tar.gz...
Print: Entry, ":CFBundleIdentifier", Does Not Exist 对应的直接点开.xcodeproj 运行相关的错误信息
这是因为0.45以上的rn需要third-party安装,如果网没有翻墙的情况下十有八九会不成功,我们可以下载rncache,直接复制到~.rncache目录下即可。.rncache是隐藏文件,需要按快捷键shift+command+.
才能显示:

最终效果:

再打开xcode运行试一下,溜的飞起!
网友评论