akiraspeirs
akiraspeirs

Reputation: 2135

iOS: Watch Kit paired device unavailable for development

I can't run my Apple Watch application in XCode. My phone+watch is listed as a "Unavailable Device" and says "paired device unavailable for development". When I try to launch the app it says the same thing.

How can I resolve this?

I'm using XCode 7.1, iOS 9.0, WatchOS 2.0.1.

Upvotes: 60

Views: 35926

Answers (25)

Ryan F
Ryan F

Reputation: 11

I've had the best luck following these steps:

  1. Quit Xcode
  2. Disconnect iPhone
  3. Turn bluetooth on watch off then on again
  4. Reconnect iPhone, unlock and trust computer
  5. Open Xcode

Upvotes: 0

oskarko
oskarko

Reputation: 4188

In my case, I just needed to unplug and plug my iPhone in again.

Upvotes: -1

Stephan Rasshofer
Stephan Rasshofer

Reputation: 1

Today I had the same issue. My phone was availbale for development but the watch was unavailable. I restarted the iphone, watch and mac. After the restart of all devices I got the notification on the watch to trust the mac and I was able to start my application on the watch and iphone.

Upvotes: 0

saurabh
saurabh

Reputation: 6775

For me, I had to Trust this Mac from my Watch.

Then I cleared the derived data, restarted XCode and it worked. Didn't have to restart phone or Watch.

Upvotes: 1

user487588
user487588

Reputation: 740

This happened to me over the last few days. Xcode was being extremely unstable (sometimes, in the Build Scheme, it would say "paired watch unavailable for development", other times it would say "null" when referring to the watch, other times it would work!). I did all of the steps below, but the inconsistency was not solved:

Unpair my watch, Reboot both iPhone and apple watch, Pair them again, and setup my watch as a new one, Plug (unplug first) iPhone to Mac, On apple watch, say Trust the computer when it asks, Unplug and plug again

Eventually, the I realised a slightly newer version of Mojave (10.14.5), and a slightly newer version of iOS (12.3.1) had been released. After I made these quick updates, XCode appears to be much more stable now.

Upvotes: 1

Rich
Rich

Reputation: 121

For me the only thing that worked was unpairing the watch from the iPhone and setting it up as a new watch (restore from backp didn't work).

I tried unpairing in Xcode, deleting derived/cached data, platform support, restarting Xcode, all combinations of unplugging and restarting! Nothing worked.

Whether it was this nuclear action, or the simple fact that it then goes through the re-authorisation process between the Mac + Watch, we'll never know.

What I do know is that at times Xcode can be shockingly unstable.

Upvotes: 1

Alessio Campanelli
Alessio Campanelli

Reputation: 1030

my problem was having to authorize the computer from the Apple Watch... (with last release Xcode 10.2)

Upvotes: 1

Roger Zhang
Roger Zhang

Reputation: 15

I had issues with this too with Xcode 10.1 and Watch OS 5.x Really need delete Xcode Derived data files, and reboot Watch, and click 'Trust' button in Watch for debug.

Upvotes: 1

Alison Borba
Alison Borba

Reputation: 141

I just restart the Xcode to solve the problem.

Upvotes: 13

vaughan
vaughan

Reputation: 7472

I got rid of the message after re-pairing which took about 30+ mins.

However, it could have been that restarting the watch would have fixed it so try that.

Also try deleting the DerviedData.

After I got the message to go away, the app wouldn't install on the phone. I had previously created a WatchKit project from an AppCode template. After creating a new project from XCode, it started to work.

Upvotes: 0

khheng
khheng

Reputation: 147

Go to Window--> Device and Simulator , Unpair device and Disconnect from cable and connect back works for me.

Upvotes: 6

RyanTCB
RyanTCB

Reputation: 8234

I had to unlock the watch with my passcode.

  • If already unlocked, lock it then unlock.

Upvotes: 1

Bill Chan
Bill Chan

Reputation: 3473

In my case I disable the passcode of apple watch, then DerivedData and restart Xcode solves the issue.

Upvotes: 0

Megalone
Megalone

Reputation: 171

I can confirm having this too by using the following configuration: OS X, Xcode7.2 beta, iPhone5s with iOS9.2 and WatchOS 2.1

I unplugged the iphone again, closed and restarted Xcode and plugged in the iPhone again - than it worked fine!

Upvotes: 17

Yizhar
Yizhar

Reputation: 885

Rebooting the Apple Watch worked for me, after that it displays the 'trust this computer' message which is required to debug the watch with XCODE.

Upvotes: 13

Yizhar
Yizhar

Reputation: 885

Deleting the 'famous' XCODE Derived Data folder did it for me.

Steps for newbies:

  1. Close XCODE.
  2. Delete the Derived Data folder, to find it's location go in XCODE to upper menu: XCODE -> Preferences -> Locations: Here click on the Derived Data arrow.
  3. Reopen XCODE.

Tested on XCODE8.0.

Upvotes: 8

possen
possen

Reputation: 9276

This is what worked for me, and it is a lot easier and faster than un-pairing so I would try this first. From the Clock Face Swipe up, and click on the Ping iPhone button. After it makes a sound, go back in Xcode it should change no longer be unpaired or unavailable for development.

Upvotes: 68

Brad K.
Brad K.

Reputation: 198

Deleting everything in ~/Library/Developer/Xcode/watchOS DeviceSupport/ worked for me.

Upvotes: 2

Rodrigo Recio
Rodrigo Recio

Reputation: 455

It just happened to me and I fixed it by

  1. quitting Xcode
  2. putting the Watch on the charger
  3. open Xcode
  4. select the Watch App Target
  5. select the iPhone paired to watch as the device to run
  6. Wait until '(paired device unavailable for development)' or '(no paired Apple Watch)' disappears from device description at the Xcode toolbar
  7. Run!

Upvotes: 3

Ben
Ben

Reputation: 984

I met this problem as well.

What I do is quite simple, turn off bluetooth from iPhone and turn on, wait till apple watch got connected again.

Then fire up the app.

Upvotes: 1

emleeh
emleeh

Reputation: 116

I had issues with this too, using Xcode Beta 7.3 version 3. I updated to Xcode Beta 7.3 version 5 and it's working fine. Hope this helps!

Upvotes: 1

mmremann
mmremann

Reputation: 31

I followed the steps above repeatedly and still got the same issue. What I found fixed the issue was not signing into iCloud and only using Messages instead. Once I did that it worked beautifully. Thank you.

Upvotes: 2

kees
kees

Reputation: 199

I had the same issue with watchOS 2.1. Unplugging my phone restarting Xcode and plugin in my phone did the trick. I suggest trying that before you re-pairing phone and watch

Upvotes: 1

Will
Will

Reputation: 686

I had the same issue on iOS 9.1 + WatchOS 2.01 that XCode 7.1 kept saying "paired device not available for development". Here is what I did to solve it finally, not quite sure which step is critical -

  1. Unpair my watch
  2. Reboot both iPhone and apple watch
  3. Pair them again, and setup my watch as a new one
  4. Plug (unplug first) iPhone to Mac
  5. On apple watch, say Trust the computer when it asks
  6. Unplug and plug again

Bang! My apple watch is well recognized for development. Hope it helps.

Upvotes: 41

akiraspeirs
akiraspeirs

Reputation: 2135

I updated my phone to iOS9.1 and it's working now.

Upvotes: 0

Related Questions