加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – WatchOS 2:“无法安装手表应用程序”“启动”TestApp Wa

发布时间:2020-12-15 01:53:10 所属栏目:百科 来源:网络整理
导读:每当我尝试在Xcode 7 beta 4中安装watchOS 2应用程序时,我都会在iOS上收到一个AlertView弹出窗口错误: Cannot Install Watch App TestApp is installed on your iPhone,but the TestApp app for Apple Watch is currently unavailable. 我也尝试通过Apple
每当我尝试在Xcode 7 beta 4中安装watchOS 2应用程序时,我都会在iOS上收到一个AlertView弹出窗口错误:

Cannot Install Watch App

TestApp is installed on your iPhone,but the TestApp app for Apple Watch is currently unavailable.

我也尝试通过Apple Watch iOS应用程序安装watchOS应用程序,但我收到相同的错误。当我尝试运行watchOS目标时,我得到:

Error Launching ‘TestApp WatchKit App Extension’

Installation error. Check the iPhone console for more details.”

Screenshot


我检查了iPhone控制台,没有额外的细节。

我重新安装了Xcode,删除并重新添加了所有的模拟器,重置模拟器的内容和设置…没有一个工作。我也创建了一个全新的项目。这是在模拟器和运行iOS 9 beta 4和watchOS 2 beta 4的物理设备/手表上发生的。

有没有人为此找到修复或解决方法?

谢谢!

解决方法

查看设备系统日志,我发现我的问题:

7月26日18:05:14 MacBook-Pro companionappd [22461] :(错误)WatchKit:validateWatchKitApplicationInfoDictionary,无效的Info.plist键’NSAppTransportSecurity’

我在WatchOS应用程序info.plist和watchOS扩展名info.plist上设置了一个App Transport Security密钥。只能在扩展名上设置。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读