安装了react-native
使用“react-native init myproj”创建了一个项目
之后我尝试使用“react-native run-ios”运行项目
此处失败并出现以下错误:
Print: Entry, ":CFBundleIdentifier", Does Not Exist /Users/blaze/Desktop/prasa/node_modules/promise/lib/done.js:10 throw err; ^
Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/prasa.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist
有什么建议吗?
最佳答案
- 删除iOS/build目录
- 重置 iOS 模拟器中的内容和设置
它对我有用。
关于javascript - 当我使用 "react-native run-ios"运行 React Native 项目时显示错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35619819/