简体   繁体   English

获取错误运行react-native run-ios

[英]Getting Error Running react-native run-ios

I am new to react-native when I init a project and then run 当我初始化一个项目然后运行时,我是本机的新手

react-native run-ios 反应本机运行iOS

I get this error 我得到这个错误

** BUILD FAILED **

Installing build/Build/Products/Debug-iphonesimulator/AwesomeProject.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/AwesomeProject.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

node -v 6.5.0 节点-v 6.5.0

react-native-cli: 1.0.0 react-native-cli:1.0.0

react-native: 0.32.1 反应本机:0.32.1

xcode 8 beta 5 Xcode 8 Beta 5

Maybe your versions are too new or not up to date? 也许您的版本太新或不是最新的?

my run-ios works 我的run-ios作品

node -v v6.0.0 节点-v v6.0.0

react-native -v react-native-cli: 0.2.0 react-native -v react-native-cli:0.2.0

Did you trying running your project directly in xcode? 您是否尝试过直接在xcode中运行项目? Might give you more clues. 可能会为您提供更多线索。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM