当我运行react-native run-ios时,我收到此错误。
以下构建命令失败:
CompileC /Users/huanghongxia/work/react-native/appProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/Bits.o /Users/huanghongxia/work/react-native/appProject/node_modules/react-native/third-party/folly-2016.09.26.00/folly/Bits.cpp 正常的x86_64 c ++ com.apple.compilers.llvm.clang.1_0.compiler (1失败)
安装build / Build / Products / Debug-iphonesimulator / appProject.app 没有设备启动。 打印:输入,":CFBundleIdentifier",不存在
命令失败:/ usr / libexec / PlistBuddy -c打印:CFBundleIdentifier 构建/编译/产品/调试-iphonesimulator / appProject.app / Info.plist中 打印:输入,":CFBundleIdentifier",不存在
我尝试过这些步骤:
- rm -rf node_modules
&& npm install
- rm -fr $TMPDIR/react-* or node_modules/react-
native / packager / packager.sh --reset-cache
- watchman watch-del-all
但它没有用。