安装Xcode 6后,我的设备移动到灰色部分不符合条件的设备,我不能选择它们作为部署目标:
更新:
此错误发生在所有版本的Xcode 6.x.x中。 造成这个问题的原因有很多
查看这个解决方案列表以获得更多详细信息。
安装Xcode 6后,我的设备移动到灰色部分不符合条件的设备,我不能选择它们作为部署目标:
更新:
此错误发生在所有版本的Xcode 6.x.x中。 造成这个问题的原因有很多
查看这个解决方案列表以获得更多详细信息。
当前回答
您可以尝试以下解决方案在您的设备中运行构建。
重启你的iOS设备(如果设备最近更新过)和Xcode。 确保在构建设置中“iOS部署目标”是<=你的设备的版本。
否则,您可以去-产品>目的地,选择您的设备将显示为不合格的设备。您将能够选择您的设备并运行构建。
我还发现,如果你有iOS 8.4,那么你的Xcode没有iOS 8.4的SDK,因为这些设备显示为不合格。为了解决这个问题
下载Xcode 6.4
其他回答
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.
在使用Unity3D时也遇到了同样的问题
Xcode 6.3需要Unity 4.6.4
如果你使用的是较旧的Unity版本(例如4.6.3),你的设备总是会出现在“非合格设备”部分
如果你有机会在“不合格”的设备上使用Xcode运行任何项目,尝试它,然后重新连接设备到你的Mac(不重启Xcode/Mac)。 对我来说,在这样做之后,“不符合条件的设备”部分消失了,我的设备恢复到正常状态。 希望它能对某些人有所帮助。
除了将iOS部署目标设置为iOS 8.0之外,还要重新启动你的iOS8 iPhone/iPad。这招对我很管用。
我在“项目”和“目标”中设置了“iOS部署目标”,从7.1到8.0,重新启动Xcode(点击“退出”),它工作了。