Xcode-启动WatchKit Extension时出错 [英] Xcode - Error launching WatchKit Extension

查看:137
本文介绍了Xcode-启动WatchKit Extension时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功构建了一个基本的Watch/iPhone应用程序,并且尝试在我的设备上运行时出现以下错误:

I've successfully built a basic Watch/iPhone app and am getting the following error when trying to run on my devices:

启动'app_name WatchKit扩展程序时出错'

"Error Launching 'app_name WatchKit Extension'

操作无法完成.无法启动,因为它具有无效的代码签名,权利不足或用户未明确信任其配置文件."

The operation couldn’t be completed. Unable to launch because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user."

该应用确实安装在手表/电话上,但是我想在运行该应用时使用扩展程序来查看控制台输出.

The app does install to the watch/phone, but I want to use the extension to view console output while running the app.

我正在使用自动配置,没有出现任何错误.我没有使用Apple的付费开发人员计划.有人经历过吗?干杯.

I am using automatic provisioning, which is not giving any errors. I am not using Apple's paid developer program. Has anybody experienced this before? Cheers.

推荐答案

我通过在Apple Watch上首次打开该应用程序,然后在出现的提示中选择信任开发人员"来解决此问题.

I resolved this by opening the app on the Apple Watch for the first time, then selecting "Trust developer" on the prompt that appeared.

这篇关于Xcode-启动WatchKit Extension时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆