Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Install of Apple Watch Application never finished" Error when deploying watch kit app to device

So I got my new watch (yay!). I manually added its UDID to the developer portal and refreshed the provisioning profiles and I was able to push an archive to ITC for testing but now I want to run the app in debug on my watch itself.

I try deploying the watch kit app target set to my phone as the device and it sits there and runs/ churns for a while and nothing happens.

If I wait long enough, Xcode eventually errors with

"Install of Apple Watch Application never finished" Xcode error

Has anyone run across this or know of any tricks I can try?

like image 335
valheru Avatar asked Apr 27 '15 20:04

valheru


2 Answers

I keep running into this as well with Xcode 7 beta and iOS 9 / watchOS 2 simulators.

One solution that worked for me was to reset and restart both simulators, but it didn't work reliably. So I tried some other things, and what eventually started to work reliably for me was:

  1. Go to the "Apple Watch" companion app on the iOS simulator.
  2. Click your app's name.
  3. Toggle "Show App on Apple Watch" switch as shown in the screenshot below. (turn it off, and back on again)
  4. Run the app again from Xcode.

enter image description here

like image 170
Myxtic Avatar answered Nov 17 '22 14:11

Myxtic


Well with much testing and fooling around, I was able to fix the problem.

There was a mix of the error above as well as the usual verification error.

I had to double check and triple check that all 3 of the developer provisioning profiles for watch ext, watch app, and the app were up to date with the updated Watch UDID device.

Note: For debugging watch apps, I have found that you seem to have to select to run the app from your watch and then the debugger will trigger

like image 8
valheru Avatar answered Nov 17 '22 15:11

valheru