Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ineligible Devices section appeared in Xcode 6.x.x

Tags:

ios

xcode6

After installing Xcode 6 my devices moved to greyed-out section Ineligible Devices and I can't select them as deploy target:

enter image description here

Update:

This error occurs in all versions of Xcode 6.x.x. There are so many different reasons causing this problem

Check this solution list for more details.

like image 206
skywinder Avatar asked Jun 04 '14 13:06

skywinder


People also ask

How do I add iOS devices to my developer profile?

On Apple's iOS developer site, click on the "Certificates, Identifiers, & Profiles" link. Next, click on "Devices" under iOS Apps. At the top of the list of iOS devices, click the plus icon to add a new device. At the following screen, give the device a name and provide the UDID we found in iTunes earlier.


2 Answers

With the release of Xcode 6.3.1, check first the Update 5

  1. Verify that "iOS Deployment Target" is <= the version of your iDevice.

enter image description here

You find this option in "Build Settings" tab when you click on a target of your project in Xcode.

enter image description here

  1. 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

  2. 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

  3. 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.

  4. Update 3. Use Xcode 6.2 instead of Xcode 6.3 beta in order to debug with a device running iOS 8.2

  5. 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).

enter image description here

  1. 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)

like image 114
Duyen-Hoa Avatar answered Sep 26 '22 01:09

Duyen-Hoa


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:

  1. The most likely solution::

    • In Xcode status go to: Menu bar-> Product -> Destination and find your device. It will be listed under Ineligible section
    • Select your device. After you will be able to build and deploy to device! (thanks, @joshstaiger)

    enter image description here


If it doesn't work:

  1. iOS Deployment Target should be <= of the version of your device. You find this option in Build Settings tab when you click on a target of your project in Xcode.

  2. If version is correct - try to restart Mac and iPhone/iPad simultaneously. It resolve this issue in most cases! (thanks, @HoaParis)

  3. 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.

Other problems, that cause this issue:

  1. Xcode Beta 6.3 does not support iOS 8.2 (and also 8.1). You won't see your iDevice in deploy target list. Use Xcode 6.2 instead of Xcode 6.3 beta in order to debug with an iDevice iOS 8.2

  2. Xcode 6.3 requires Unity 4.6.4 If you're using an older Unity version (e.g. 4.6.3) you'll always get your devices in the Ineligible Devices section (thanks, @d4rk)

  3. 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)

  4. 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.

like image 36
skywinder Avatar answered Sep 23 '22 01:09

skywinder