安装Xcode 6后,我的设备移动到灰色部分不符合条件的设备,我不能选择它们作为部署目标:

更新:

此错误发生在所有版本的Xcode 6.x.x中。 造成这个问题的原因有很多

查看这个解决方案列表以获得更多详细信息。


当前回答

对于iOS 9.1+设备,Xcode版本应该升级到7.1(甚至7.0x也不行)

其他回答

改变你的部署目标并不是解决这个问题的好方法(它会改变你在应用商店中支持的iOS版本)。

我所做的就是重新启动Xcode,它就修复了。

如果你有机会在“不合格”的设备上使用Xcode运行任何项目,尝试它,然后重新连接设备到你的Mac(不重启Xcode/Mac)。 对我来说,在这样做之后,“不符合条件的设备”部分消失了,我的设备恢复到正常状态。 希望它能对某些人有所帮助。

我的解决方案是,我最近将iOS设备升级到8.3,但Xcode仍然无法识别。修复方法是简单地将Xcode升级到6.3:)

For most people the cause of the problem is probably mismatch between Xcode, device version and app target version. If versions are not a problem for you, most likely is that the device (iPhone/iPad) has been used with another Mac to copy apps to. This happens particularly more with a team environment where an iDevice can be used between team members. Xcode knows some other developer's Mac has connected to this device, it will show up as "Ineligible". But the previous Mac that connected to it, it will show up as normal. The quickest work around is as shown by joshstaiger among others: Go to Xcode ->Product->Destination Select the ineligible device as target. It should work.

我只是重启了我的Mac和iPhone 6,问题就解决了。我从不需要改变我的部署目标。