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

更新:

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

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


当前回答

我也遇到过类似的问题,对我来说,我已经升级到iOS8,并更改了Xcode项目的名称。对我来说,修复是通过选择管理方案>(+)按钮来创建一个新方案。

执行此操作后,我的设备列表返回。

其他回答

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.

尝试了所有可能的更新,Xcode 6.3, iOS 8.3和OSX 10.10.3,但没有得到永久的解决方案。

向skywinder致敬,第一个选择成功了!

我把部署目标改成了7.1,和我的iphone一样,现在我可以在上面运行swift程序了。它在8.0上显示为不合格。

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

我在“项目”和“目标”中设置了“iOS部署目标”,从7.1到8.0,重新启动Xcode(点击“退出”),它工作了。