gpt4 book ai didi

ios - WatchOS 2 : "Cannot Install Watch App" "Error Launching ' TestApp WatchKit App Extension'"

转载 作者:技术小花猫 更新时间:2023-10-29 10:06:37 32 4
gpt4 key购买 nike

每次我尝试在 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 的物理设备/ watch 上。

有没有人想出解决办法或解决方法?

谢谢!

最佳答案

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

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

我在 watchOS 应用 info.plist 和 watchOS 扩展程序 info.plist 上都设置了 App Transport Security key 。它应该只在扩展上设置。

关于ios - WatchOS 2 : "Cannot Install Watch App" "Error Launching ' TestApp WatchKit App Extension'",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31641162/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com