Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 6.3 Beta shows iOS 8.3b device as "ineligible"

I haven't used XCode since the first 6.x beta last summer. Today I installed the newest iOS beta on my iPhone 6 and the newest XCode beta from the developer portal. I created a new single-page swift application with an 8.3 target, and then tried to launch it on my device, but XCode shows it as ineligible in the build menu.

ineligible device

Any help on fixing this issue would be appreciated.

like image 721
Connor Hicks Avatar asked Feb 26 '15 19:02

Connor Hicks


4 Answers

In my case, selecting the device from Product --> Destination worked great.

I hope that helps!

like image 162
Pavel Smejkal Avatar answered Nov 15 '22 17:11

Pavel Smejkal


The fix is: Go to Product > Destination, and even though it says your device is ineligible, it will still allow you to select it, then building to it will work.

like image 41
kalpeshdeo Avatar answered Nov 15 '22 18:11

kalpeshdeo


You may need to login to the Apple Developer center and agree to the new terms of service. After that, do the following to update the provisioning profiles:

  1. Open Xcode
  2. Open Preferences...
  3. Select the Accounts tab
  4. Select your Apple ID
  5. Select View Details...
  6. Hit the refresh button in the bottom left corner

If you get an error about agreeing to the terms of service just wait a few minutes and try to refresh the provisioning profiles again.

Edit: For those still having trouble with ineligible devices, here's something else to try:

  1. Open Xcode
  2. Open Window
  3. Select Devices
  4. Control-click your device on the left side of the window and select Show Provisioning Profiles...
  5. Use - to remove all profiles (Xcode will install the necessary profile on the device when you launch the app). I had a bunch of old/extra profiles on my device.
  6. Double-check all settings in the Code Signing section in the build settings for your project and targets. Unfortunately I can't be more specific here but use your best judgement.
like image 25
joat Avatar answered Nov 15 '22 17:11

joat


If you haven't done this since last summer, you probably need a complete new set of credentials. (This is because the entitlements for running a Swift app on a device changed.) Clear out everything and start from the bottom up with a new developer identity. Then create the development profile. Finally, attach the device and make sure to tap Trust and wait for the symbols to be copied over. You will then probably need to detach the device and attach it again, but at that point if you attempt to build and run on the device it should work.

like image 43
matt Avatar answered Nov 15 '22 19:11

matt