当我初始化一个项目然后运行
时,我很反应原生react-native run-ios
我收到此错误
** 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
react-native-cli:1.0.0
react-native:0.32.1
xcode 8 beta 5
答案 0 :(得分:0)
也许你的版本太新或不是最新的?
我的run-ios工作
节点-v V6.0.0
react-native -v react-native-cli:0.2.0
您是否尝试直接在xcode中运行项目?可能会给你更多线索。