unable to debug watchOS 2 app with Xcode 7

i created a simple test app using the watch app Xcode template in Xcode 7. when i build and run this on the watch simulator, the app never runs. When i try to run the same app on the device (also via Xcode), the app gets installed but never runs. Looking at the watch logs, at appears that "nanoappregistryd" crashes on the watch right around the same time. sometimes, the watch actually reboots when this happens.


Has anyone been able to debug a watchOS 2.0 app via Xcode7?


ps: iPhone is on iOS9 and mac is on OSX El Capitan

I can't , either.

I'm experiencing this issue as well. It's making it very hard to test communication between the two devices.

Me as well. Even if I go through the Apple Watch app on the simulator and manually install the WatchOS app, it refuses to install and instead errors out with: “Install of Apple Watch Application never finished”.

I managed to get the Apple Watch app working on the simulator, but it doesn't work all of the time, and I can't predict when it will work. One technique that has helped me is to uninstall the Apple Watch app on the simulator (click and hold on the app, and then click the 'X' that appears). Then try running your app from Xcode.


I've also tried installing/uninstalling via the Apple Watch app. Open the Apple Watch app on the iPhone simulator, find your app in the list, and tap on it. Untoggle the option that says "Show App on Apple Watch" to uninstall the app, and then toggle it to reinstall the app.


Hopefully these techniques work for others as well. Again, it doesn't work all of the time, but it's better than not being able to run your app at all!

It turns out that although the WatchKit app was upgraded by Xcode to WatchOS 2-type, it didn't really work. I had to make a new target and drag files over and change which bundle they were part of.


After that, it didn't work due to an inclusion of a framework that didn't allow for Core Location methods but that's another issue.


Hope that helps.

unable to debug watchOS 2 app with Xcode 7
 
 
Q