Xcode 不安装 watchOS 应用程序以在设备上进行调试 [英] Xcode does not install watchOS app for debugging on device

查看:31
本文介绍了Xcode 不安装 watchOS 应用程序以在设备上进行调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是在 watchOS 4.3 beta (15T5165e) 和 Xcode 9.3 beta (9Q98q) 上,但我不认为这是因为它们处于测试阶段,因为另一个 WatchKit 项目在设备上运行得很好.我尝试取消配对/修复,重新启动 iPhone/Watch/macOS/Xcode(同时确保在手表上点击信任这台电脑"),但 Xcode 在 WatchKit 方案中仍然显示正在运行",而没有实际安装和运行 watchOS应用程序,最终说手表应用程序启动超时."

This is on watchOS 4.3 beta (15T5165e) and Xcode 9.3 beta (9Q98q), but I don't think it's because of them being in beta because another WatchKit project ran on device just fine. I have tried unpairing/repairing, restarting the iPhone/Watch/macOS/Xcode (while making sure to to tap "trust this computer" on the watch) but Xcode still says "Running" in the WatchKit scheme without actually installing and running the watchOS app, eventually saying "Watch app launch timed out."

推荐答案

在 iPhone 上禁用 WiFi.这对我有帮助.

Disable WiFi on the iPhone. This helped me.

我是在遵循@Appyx 建议激活 iPhone 上的热点后才想到的.然后我注意到,在热点模式下 WiFi 会自动禁用并尝试了这个.

I came to this after following @Appyx advice to activate a hotspot on iPhone. Then I noticed, that in hotspot mode WiFi is automatically disabled and tried this.

这篇关于Xcode 不安装 watchOS 应用程序以在设备上进行调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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