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

更新:

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

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


当前回答

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,问题就解决了。我从不需要改变我的部署目标。

在尝试了上面的两个答案(改变部署目标和重新启动我的iOS设备)后,最终为我解决问题的是重新启动我的Mac。

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

我同意txulu,改变部署目标是一个荒谬的想法。我需要支持设备回至少一个版本,这是不容讨价还价的我。

在更新到iOS 8.1和Xcode到6.1后重新启动我的iPhone 5对我来说很有效。

这个问题最常见的原因是Xcode 6.3和在你的设备上运行iOS 8.2。Xcode 6.3默认不安装8.2模拟器。它安装了8.3模拟器。

@joshstaiger的解决方案是有效的,但它不是永久的解决方案。每次你想在你的设备上运行应用程序时,你都必须这样做

永久的解决方法是简单地在Xcode 6.3中安装8.2模拟器。点击Xcode ->首选项->下载。在Components下安装8.2模拟器。

现在您将不再看到您的设备列在不符合条件的设备下。