12

I'm getting the following error when I try to build my Watch OS 2 app on my iPhone (iOS 9.0b2) which is paired to my Apple Watch (watchOS 2.0b2).

Your iPhone is not available. Please select a different device and try again.

I've tried all the obvious things, restarting iPhone, Watch, Mac, etc. All my software is updated to the latest version and my watch is paired to my iPhone. Does anyone have any ideas?

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
samturner
  • 2,213
  • 5
  • 25
  • 31

2 Answers2

7

Connect the phone and open iTunes. Once the "Trust this iPhone" sequence is complete via iTunes, the phone will be recognized in Xcode.

shim
  • 9,289
  • 12
  • 69
  • 108
roninSTI
  • 151
  • 1
  • 6
3

Here's how I resolved the issue.

1) Disconnect your iPhone device out of your laptop completely.

2) Close Xcode and launch it back up again.

3) Wait till Xcode finish indexing

4) Choose a different scheme (say YourProjectTest scheme) and one of your iPhone simulators.

5) Clean one more time, Build, and then Run your app.

6) Now connect your device, switch Schemes back to the original (YourProject scheme), and choose your specific device you just connected to run your app on.

7) Run the app and you should be golden.

Vick Swift
  • 2,945
  • 1
  • 15
  • 17