This happens when you want to install the WatchKit application on the actual Xcode clock and time, waiting for the process to start due to the long installation time. This can be time consuming for two reasons:
- Sometimes a watch needs to “notice” that an application needs to be updated before it starts transferring.
- If your Apple Watch application has a lot of images or other content that it needs to transfer to the watch, the actual transfer via Bluetooth can take a lot of time.
If you want to avoid this error, here are some tips that come from this blog post, which also shows how to speed up the installation of applications: http://www.sneakycrab.com/blog/2015/5/28/speeding-up -slow-install-times-when-debugging-on-a-real-apple-watch
- Select the basic iOS layout in Xcode to create and install on your phone. (Not an extension of the WatchKit app)
- Hit stop in Xcode.
- Get iOS to notice that you need to start installing the Watch app. There are two ways: a) open the page of your application in the Apple Watch Companion application on your phone or b) click on your application directly on Watch (when you see the counter, you can click on the crown to go back to the application icon screen, and you should see that it starts to load)
- Once the application is installed on your watch, switch to the WatchKit expansion scheme and click the play button, it will wait to enable debugging
- Launch the application manually.
source share