2

我正在尝试使用 react-native run-ios 命令运行我的应用程序,但它显示以下错误:

使用“xcodebuild -project AliceMobile.xcodeproj -configuration Debug -scheme AliceMobile -destination id=165690EB-E924-498B-A72D-9D939D93D467 -derivedDataPath build” 找到 Xcode 项目 AliceMobile.xcodeproj Building 来自命令行的用户默认值:

IDEDerivedDataPathOverride = /Users/itegra/Desktop/Developer/Alice/alice-platform/Services/AliceMobile/ios/build

注意:使用新的构建系统

2018-10-10 11:39:37.889 xcodebuild[63241:2936081] 意外响应:ErrorResponse(描述:“处理消息时出现未知错误:missingWorkspaceContext”)

错误:构建服务无法启动构建操作:内部错误:无法将系统信息发送到构建服务

** 构建失败 **

安装 build/Build/Products/Debug-iphonesimulator/AliceMobile.app 处理命令时遇到错误 (domain=NSPOSIXErrorDomain, code=22): Failed to install the requested application 无法确定应用程序的包标识符。确保应用程序的 Info.plist 包含 CFBundleIdentifier 的值。打印:条目,“:CFBundleIdentifier”,不存在

命令失败:/usr/libexec/PlistBuddy -c 打印:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/AliceMobile.app/Info.plist 打印:条目,“:CFBundleIdentifier”,不存在

错误:命令失败:/usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/AliceMobile.app/Info.plist 打印:条目,“:CFBundleIdentifier”,不存在

在 CheckExecSyncError (child_process.js:602:13) 在 Object.execFileSync (child_process.js:622:13) 在 Promise.then (/Users/itegra/Desktop/Developer/Alice/alice-platform/Services/AliceMobile/node_modules/ react-native/local-cli/runIOS/runIOS.js:208:5) 在

有人可以帮助我吗?

4

0 回答 0