安装Xcode 6后,我的设备移动到灰色部分不符合条件的设备,我不能选择它们作为部署目标:
更新:
此错误发生在所有版本的Xcode 6.x.x中。 造成这个问题的原因有很多
查看这个解决方案列表以获得更多详细信息。
安装Xcode 6后,我的设备移动到灰色部分不符合条件的设备,我不能选择它们作为部署目标:
更新:
此错误发生在所有版本的Xcode 6.x.x中。 造成这个问题的原因有很多
查看这个解决方案列表以获得更多详细信息。
当前回答
如果你有机会在“不合格”的设备上使用Xcode运行任何项目,尝试它,然后重新连接设备到你的Mac(不重启Xcode/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.
我只是重启了我的Mac和iPhone 6,问题就解决了。我从不需要改变我的部署目标。
我的答案很简单,可能已经列出了,但我没有注意到:我从目标中删除了有问题的应用程序,然后启动Xcode,目标就可用了。是的,我尝试了大多数其他建议,并诉诸于从产品菜单激活目标,但这变得乏味。
我的iPhone已经更新到iOS8.1。我的Xcode版本是6.0.1,我的mac os版本是10.10。当我想在我的iPhone上运行应用程序时,有一个名为“不合格设备(操作系统版本)”的部分。然后我将Xcode更新到6.1版本,解决了问题。
部分Xcode 6.1发布说明:包括OS X 10.10 Yosemite, OS X 10.9 Mavericks和iOS 8.1的sdk。
也就是Xcode 6.0。x不支持iOS 8.1。
除了将iOS部署目标设置为iOS 8.0之外,还要重新启动你的iOS8 iPhone/iPad。这招对我很管用。