1) I had the same problem, my version of Xcode was 7.0.1, and I upgraded my iPhone to version 9.2, and then, using Xcode, my iPhone was shown in the inaccessible device section. As in the image below:

2) But then I somehow managed to select my iPhone by clicking on the button Product β Destination β Inaccessible device

3) But this did not solve my problem, and she began to show:
Could not find developer disk image

Solution) Then, finally, I downloaded the latest version of Xcode version 7.2 from here , and everything worked fine for me.
Update: Whenever the iPhone device version is higher than the Xcode version, you may experience the same problem, so you must update the Xcode version to remove this error.
Aamir Jan 07 '16 at 5:48 2016-01-07 05:48
source share