ios - "IDELaunchErrorDomain"设备运行watchOS应用时出错

标签 ios swift xcode apple-watch

在真正的 watch 设备上运行 watchOS 应用程序得到以下错误。

细节:

Error Launching 'Appname Extension'
Domain: IDELaunchErrorDomain
Code: 15
Failure Reason: Build and Run launch failed as the app to run does not appear to be known by the system.

最佳答案

在您的目标下选择您的 WatchKit 应用程序。在 Build Phases 下,展开 Dependencies 部分并确保那里存在正确的 WatchKit App Extension。如果您复制了目标,则可能是一个旧的不相关的 WatchKit 扩展坐在那里造成了问题。

关于ios - "IDELaunchErrorDomain"设备运行watchOS应用时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58370281/

相关文章:

ios - 搜索栏从 iPhone 上的“搜索”按钮展开

ios - 日期选择器不会显示在自定义 UITableViewCell 类中

ios - 使用 NSNumberFormatter 更改美元

ios - 将 UITableView 分类为多个部分

ios - Swift Firebase 在创建新用户时说内部错误

ios - 为什么我无法在 xcode 中选择 segue 类型?

ios - UIImageView背景色但不显示图像

ios - IBM Worklight 6.0-在iOS中控制启动画面的问题

php - 上传图片到服务器不起作用

ios - 为 3.5 和 4 英寸屏幕尺寸调整 UIScrollView