Ios – iPhone is not available. Please reconnect the device

iosxcode

I'm on iOS 13.5 and using Xcode 11.4 to build on to it. I'm getting this error message:

enter image description here

The KBlackberry is my iPhone device name.

I tried restarting the device and reconnecting of course and various other things but nothing seems to fix it. My next step is to try a newer version of Xcode.

Best Answer

Before you debug with iPhone, follow this mapping table about the version of Xcode and iOS:

Xcode 12.3 → iOS 14.3

Xcode 12.2 → iOS 14.2

Xcode 12.1 → iOS 14.1

Xcode 12 → iOS 14

Xcode 11.7 → iOS 13.7

Xcode 11.6 → iOS 13.6

Xcode 11.5 → iOS 13.5

Xcode 11.4 → iOS 13.4

Download at https://developer.apple.com/download/more/.

If you're still encountering the error, try to unpair the device within the menu Window > Devices and Simulators, clean Xcode, reconnect and trust the device, then re-run. It worked for me! enter image description here

Get more info: https://en.wikipedia.org/wiki/Xcode