安装Xcode 6后,我的设备移动到灰色部分不符合条件的设备,我不能选择它们作为部署目标:
更新:
此错误发生在所有版本的Xcode 6.x.x中。 造成这个问题的原因有很多
查看这个解决方案列表以获得更多详细信息。
安装Xcode 6后,我的设备移动到灰色部分不符合条件的设备,我不能选择它们作为部署目标:
更新:
此错误发生在所有版本的Xcode 6.x.x中。 造成这个问题的原因有很多
查看这个解决方案列表以获得更多详细信息。
当前回答
我同意txulu,改变部署目标是一个荒谬的想法。我需要支持设备回至少一个版本,这是不容讨价还价的我。
在更新到iOS 8.1和Xcode到6.1后重新启动我的iPhone 5对我来说很有效。
其他回答
您可以尝试以下解决方案在您的设备中运行构建。
重启你的iOS设备(如果设备最近更新过)和Xcode。 确保在构建设置中“iOS部署目标”是<=你的设备的版本。
否则,您可以去-产品>目的地,选择您的设备将显示为不合格的设备。您将能够选择您的设备并运行构建。
我还发现,如果你有iOS 8.4,那么你的Xcode没有iOS 8.4的SDK,因为这些设备显示为不合格。为了解决这个问题
下载Xcode 6.4
我的iPad是8.0,但我的部署目标设置为8.1。我在构建设置中更改了部署目标,ipad立即从“不合格”类别中移出。(我在Yosemite和XCode 6.1)
对于iOS 9.1+设备,Xcode版本应该升级到7.1(甚至7.0x也不行)
升级XCode以确保它支持当前设备上的iOS版本。
(就我而言,我的手机使用的是iOS 9.1.x)但XCode版本是7,支持iOS 9.0设备)
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.