1)我遇到了同样的问题,我的Xcode version was 7.0.1,我更新了我的iPhone to version 9.2,然后在使用Xcode时,我的iPhone显示在不可用设备部分.如下图所示:
2) But then I somehow managed to select my iPhone by clicking at
Product -> Destination -> Unavailable Device
3) 但这并没有解决我的问题,它开始显示:
找不到开发人员磁盘映像
Solution) Then finally I downloaded latest version of Xcode version 7.2 from 100 and everything has worked fine for me.
Update:每当iPhone设备的版本高于Xcode的版本时,您可能会遇到同样的问题,因此您应该更新您的Xcode版本以消除此错误.