Search code examples
iosxcodewatchkittestflightipa

WatchKit app loads indefinitely on Apple Watch, then crashes


This is an issue people have had for a while, but I'm wondering if anybody has figured anything out recently - all the discussion peters out around October 2015.

Basically, when I try to run a WatchKit app on the Watch (after running it succesfully on the simulator), it shows the loading daisy for a few minutes, then crashes.

I have tried:

  • Building directly to iPhone with a paired Watch
  • Exporting an ad-hoc .ipa and install on iPhone via iTunes
  • Uploading a build to Testflight and installing on iPhone
  • Every imaginable combination of restarting, unpairing/repairing, etc.

And I've tried all this with empty test projects, both Swift and Objective-C. Nothing has worked.

It's frustrating not to be able to test on the physical device. Has anybody figured out a workaround?


Solution

  • My last ditch effort seems to have worked - I reformatted my computer and installed El Capitan and the production version of Xcode, and now I can build to the watch.

    It's worth noting that I also upgraded to WatchOS 2.1 (from 2.0.1), which could be the actual reason it's working now, but I have no way of knowing.