RN编译错误之——Print: Entry, ":CFBundleIdentifier", Does Not Exist

来源:互联网 发布:服装淘宝店营销策划书 编辑:程序博客网 时间:2024/06/05 11:00

报错如下

执行 react-native run-ios
Installing build/Build/Products/Debug-iphonesimulator/YJPDealerBrokerProject.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, “:CFBundleIdentifier”, Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/YJPDealerBrokerProject.app/Info.plist
Print: Entry, “:CFBundleIdentifier”, Does Not Exist

解决办法如下

删除node_modules 和相关的build文件夹
执行npm install

阅读全文
0 0
原创粉丝点击