Ineligible Devices section appeared in Xcode 6.x.x
With the release of Xcode 6.3.1, check first the Update 5
- Verify that "iOS Deployment Target" is <= the version of your iDevice.
You find this option in "Build Settings" tab when you click on a target of your project in Xcode.
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).
- Update 5: Apple released Xcode 6.3.1 that fix the issue of ineligible device. If you have this problem with Xcode 6.3, upgrade to XCode 6.3.1
From Release Notes (Xcode 6.3.1):
Fixed: Devices previously listed as "ineligible for running” erroneously are listed correctly. (20121178)
There is a lot of options (10 23 29 answers for this question!), that can cause this error. And no one is 100% solve this issue. Here is summarise of all solutions.
First of all:
0. Update to latest Xcode version
Most of the reasons, that cause this problem fixed in Xcode version 6.3.1
(6D1002 published April 21, 2015)
List of solutions in order frequency of occurrence:
-
The most likely solution::
- In Xcode status go to:
Menu bar
->Product
->Destination
and find your device. It will be listed underIneligible
section - Select your device. After you will be able to build and deploy to device! (thanks, @joshstaiger)
- In Xcode status go to:
If it doesn't work:
iOS Deployment Target should be
<=
of the version of your device. You find this option inBuild Settings
tab when you click on a target of your project in Xcode.If version is correct - try to restart Mac and iPhone/iPad simultaneously. It resolve this issue in most cases! (thanks, @HoaParis)
-
Finally if either doesn't work - try to do this magic actions:
- switch
iOS Deployment Target
to 8.1 - restart
Xcode
- switch back to desired version.
- switch
Other problems, that cause this issue:
Xcode Beta 6.3
does not supportiOS 8.2
(and also 8.1). You won't see your iDevice in deploy target list. UseXcode 6.2
instead ofXcode 6.3 beta
in order to debug with an iDevice iOS 8.2Xcode 6.3
requiresUnity 4.6.4
If you're using an olderUnity
version (e.g.4.6.3
) you'll always get your devices in theIneligible Devices
section (thanks, @d4rk)Also it appears in case of changing name of Xcode project. The fix it - create a new scheme by selecting
Manage Schemes > (+) button
. (thanks, @dale-moore)Beta to Release upgrade of Xcode can require upgrading iOS or watchOS from beta to release version. For example, when switching from Xcode 8 beta 6 to Xcode 8 release, watchOS 3 beta is listed as unsupported.