This may turn into a rant but I am looking for guidance on how to efficiently debug Watch OS 2 apps on the watch device. I must be doing something wrong because what is happening now is random, frustrating and time-consuming. Basically, it's a crap shoot to get it working and there are so many random behaviors it is difficult to describe what happens or to file a radar.
I have no problems at all debugging my watch app on the watch simulators where I simply Build & Run, and the watch simulator eventually launches with my logging showing up immediately in the debug output window. So, I expected the same process choosing the scheme where my paired watch has the app and extension installed.
What happens (besides trying to fight with my iPhone to keep it and the watch awake) is I click Build & Run and there are a bunch of messages flashing across the top of Xcode, and then I wait, and wait, and look up to see that the Stop button is dimmed and the entire process quit. Then I click B&R again, and more messages appear, and sometimes (after a lengthy pause) Xcode comes to life, seemingly attaching the extension, but 3 out of 4 times, I get another error message like "Install of Apple Watch Application never finished." and I click B&R again and usually the third (or fourth) time clicking B&R, Xcode said my watch app is running, but it has not launched, and so I have to find the icon on the watch and tap on it to launch it and eventually the log messages start appearing in the debug output window and I can try to debug. Other times, I launch the app, and it just turns off and I have to launch it again, and so on.
I opened up my Schemes and made sure they match exactly the config of a new watch OS 2 project.
So, is this common behavoir with trying to debug on the watch itself? Is there something I am missing in the Scheme? And what *is* the normal process supposed to be when debugging on the watch?
Thanks.