Xcode - no iOS device connected

I used Xcode this afternoon and perfectly debugged the application on my device. When I returned from the office and connected my phone to work, Xcode no longer allowed me to debug my device. I got an error:

Error Starting Executable. No provisioned iOS device is connected. 

So, I went to the Organizer, and here is what I saw:

alt text

So what gives? Has anyone seen this before?

Thanks!

+6
iphone xcode
source share
4 answers

Well, I donโ€™t know why this helped, but if someone else sees this stream, what is โ€œfixedโ€ was the problem of removing the SDK from my machine, restart Xcode, then reconnect the device. Then Xcode will issue a warning asking you to collect debugging characters from the device, which I allowed it to. Since then, it has worked like a charm.

+1
source share

Perhaps you are testing your application on the simulator and accidentally, instead of a simulator, a device is selected. It helps me figure this out.

+1
source share

Make sure you upgrade to the latest Xcode 3.2.5 using the iOSK 4.2.1 SDK.

0
source share

I had another way to solve this problem.

I tried updating my device to the beta version of iOS5 7 ... to test my application in iOS5. As soon as I finished testing, I wanted to return to iOS4.3.5 on my device ...

it took a little pain, but managed to restore it back to the original but then the debugging did not work and received the same error as here.

So, I wanted to see what I see in this picture that you have: and here it is ... A button called "enable for debugging" if I'm not mistaken.

Worked like a charm .... :)

0
source share

All Articles