安装Xcode 6后,我的设备移动到灰色部分不符合条件的设备,我不能选择它们作为部署目标:
更新:
此错误发生在所有版本的Xcode 6.x.x中。 造成这个问题的原因有很多
查看这个解决方案列表以获得更多详细信息。
安装Xcode 6后,我的设备移动到灰色部分不符合条件的设备,我不能选择它们作为部署目标:
更新:
此错误发生在所有版本的Xcode 6.x.x中。 造成这个问题的原因有很多
查看这个解决方案列表以获得更多详细信息。
当前回答
这个问题最常见的原因是Xcode 6.3和在你的设备上运行iOS 8.2。Xcode 6.3默认不安装8.2模拟器。它安装了8.3模拟器。
@joshstaiger的解决方案是有效的,但它不是永久的解决方案。每次你想在你的设备上运行应用程序时,你都必须这样做
永久的解决方法是简单地在Xcode 6.3中安装8.2模拟器。点击Xcode ->首选项->下载。在Components下安装8.2模拟器。
现在您将不再看到您的设备列在不符合条件的设备下。
其他回答
随着Xcode 6.3.1的发布,首先检查更新5
验证“iOS部署目标”是<=您的设备的版本。
当你在Xcode中点击项目的目标时,你会在“Build Settings”选项卡中找到这个选项。
Then if does not work, try to restart Xcode. Sometimes we have to restart the Mac and iPhone/iPad. Take a look at the Updates below before restarting Xcode Update: in Yosemite, Xcode 6.0.1 does not support iOS 8.1, you have to update to Xcode 6.1 if you want to debug on iOS 8.1 device, or you will probably have the same problem as described in the topic Update 2: Xcode Beta 6.3 does not support iOS 8.2 (and also 8.1 - thanks @steveb). You won't see your device in deploy target list. I don't know if other versions are supported. Update 3. Use Xcode 6.2 instead of Xcode 6.3 beta in order to debug with a device running iOS 8.2 Updated 4 : for Xcode 6.3 (and eventually 6.3 beta if someone use it :) ), if you have this problem, just go to Product > Destination to select your device. Even though it says your device is ineligible, it will still allow you to select it. If your device version is >= target version, the build should work. It must be a bug for Xcode 6.3 in debug with iOS 8.3 (or maybe other iOS version) (thanks @einfach).
更新5:苹果发布了Xcode 6.3.1,修复了不合格设备的问题。如果你在Xcode 6.3中遇到这个问题,请升级到Xcode 6.3.1
发布说明(Xcode 6.3.1):
固定:设备之前被列为“不符合运行条件” 错误的被正确列出。(20121178)
我的iPad是8.0,但我的部署目标设置为8.1。我在构建设置中更改了部署目标,ipad立即从“不合格”类别中移出。(我在Yosemite和XCode 6.1)
我可以确认答案是把Xcode升级到6.1。如果你使用的是Xcode 6.0。X您将无法选择运行8.1的设备。您的部署目标和操作系统版本应该与此无关。
如果你的操作系统版本大于10.9.4,我会推荐这样做。首先,解除所有设备。下载Xcode 6.1。打开新版本的Xcode后,连接你的设备。你应该可以出发了。
另一件好事是查看发行说明。它易于阅读,并给你一个仍然需要修复的大致概念。
这个问题最常见的原因是Xcode 6.3和在你的设备上运行iOS 8.2。Xcode 6.3默认不安装8.2模拟器。它安装了8.3模拟器。
@joshstaiger的解决方案是有效的,但它不是永久的解决方案。每次你想在你的设备上运行应用程序时,你都必须这样做
永久的解决方法是简单地在Xcode 6.3中安装8.2模拟器。点击Xcode ->首选项->下载。在Components下安装8.2模拟器。
现在您将不再看到您的设备列在不符合条件的设备下。
在我的情况下,我必须重新连接设备,当它要求按“信任这台计算机”,然后我的设备出现在xCode中再次可用