watchkit extension not starting

假装没事ソ 提交于 2019-12-05 18:23:57
Kostiantyn Koval

1. Select you "... Watch App" Run it on iPhone 5 simulator and higher
(watch simulator not working with iPhone 4s)

2. Go to Hardware > External Displays > Select one of Watch external displays.

As a result you should see the log on the console from your WKInterfaceController WathcKit Extension

I have exactly same problem. I created a new project and added WatchKit extension in Xcode 6.2 beta 4 with WatchKit. I tried all ways mentioned in other answers but still failed to let watch app run in the simulator. Finally, I made it work.

My steps:

  1. Delete the containing app in the iPhone simulator.
  2. Clean your project in Xcode.
  3. Do not run the containing app, run the WatchKit app from Xcode.

1. Dont run main target, run watch extension target. you can find below attachment, so that you can get an idea

2. Go to Hardware > External Displays > Select one of Watch external displays

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!