Xcode不会部署或启动Apple Watch模拟器

时间:2018-03-20 07:13:13

标签: ios xcode apple-watch apple-watch-complication

我将计划更改为Apple Watch并点击运行,手表模拟器显示但我的应用程序图标甚至没有在手表的主屏幕上看到。

我已经好几天了。我尝试了清理项目,清理构建文件夹,删除派生数据,删除watchOS DeviceSupport中的文件,重新启动Xcode(9.2),重新启动Apple Watch Simulator

(顺便说一下,外部显示选项不显示Apple Watch Alternatives)

您能否帮助解决可能导致此问题的可能性? 我还应该尝试什么?

Xcode无法在手表模拟器上启动我的应用程序:/这是问题的摘要。

2 个答案:

答案 0 :(得分:0)

在iOS(iPhone)模拟器上启动Apple“Apple Watch”应用程序(不是你的应用程序)一直向下滚动到按钮,在那里你的应用程序旁边应该有一个加载图标,等待20分钟,如果手表上没有显示图标,重新启动计算机,并选择重新启动所有勾选的应用程序,启动xcode,然后尝试上述提示。

答案 1 :(得分:0)

When trying out my first watchOS app, I was seeing the same behaviour. I could not find the app's icon in the simulator. The following is what I did.

  • I stopped the app in Xcode.
  • Launched it again.
  • This time I opened the main app in the iPhone simulator also.
  • The icon for the app appeared in the watch simulator among other apps and the app launched.
  • For ~10 seconds a loading indicator was shown.

I was able to continue debugging normally from then on.