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

更新:

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

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


当前回答

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

其他回答

在这里,只需部署到另一台设备,然后切换回以前的“不合格”设备。 (省去了重启任何东西的麻烦)

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.

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

对我来说有用的是安装XCode 6.1(兼容iOS 8.1)

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