Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone won't connect in Xcode 6 beta

Tags:

I updated both iOS 8 and Xcode 6 beta. When I connect my phone, it shows up as "ineligible device" where you select which platform you want to run on.

When I try to run the project on my actual iPhone, an error message in Xcode appears that says:

An error was encountered while enabling development on this device.

If anyone knows how I can fix this, I would much appreciate it because I haven't found much info on this error message.

like image 975
Chris C Avatar asked Jun 15 '14 19:06

Chris C


People also ask

How do I connect my iPhone to my Mac for development?

You may connect a real device to your Mac using a cable, or for iOS or tvOS apps, connect it over Wi-Fi after you pair it with Xcode. For macOS apps, choose a scheme, then click the Run button in the toolbar.


2 Answers

I've had the same problem. I closed Xcode made sure my phone was connected then reloaded Xcode and that worked for me.

like image 186
Nath Avatar answered Oct 13 '22 22:10

Nath


For me changing the Command Line Tools to Xcode 6 (instead of Xcode 5.1.1) under "Preferences" -- "Locations" -- "Command Line Tools" did the trick..

enter image description here

like image 29
dominik Avatar answered Oct 13 '22 21:10

dominik