react-native init 新项目 启动报错-Print: Entry, ":CFBundleIdentifier", Does Not Exist

终端react-native init test // 创建test项目

cd test

react-native run-ios

结果报错 无法运行:

Print: Entry, ":CFBundleIdentifier", Does Not Exist

或直接通过Xcode在虚拟机上运行报错:Command /bin/sh failed with exit code 1

解决方案:

将创建的项目删除

重新init项目,指定react-native 的版本

react-native init test --version 0.44.3 版本号必须精确到两个小数点

你可能感兴趣的:(react-native init 新项目 启动报错-Print: Entry, ":CFBundleIdentifier", Does Not Exist)