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.
Any help on fixing this issue would be appreciated.
In my case, selecting the device from Product --> Destination worked great.
I hope that helps!
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.
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:
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:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With