开发者

Xcode - No provisioned iOS device is connected

开发者 https://www.devze.com 2023-02-03 08:06 出处:网络
I was using Xcode this afternoon and debugging an app on my device just fine.When I got home from the office and plugged in my phone to keep working, XCode would no longer let me debug on my device.Th

I was using Xcode this afternoon and debugging an app on my device just fine. When I got home from the office and plugged in my phone to keep working, XCode would no longer let me debug on my device. The error I received was:

Error Starting Executable.  No provisioned iOS device is connected.

So I hopped over to the Organizer, 开发者_开发问答and here is what I saw:

Xcode - No provisioned iOS device is connected

So what gives? Anyone seen this before?

Thanks!


Well I don't know why this helped, but if anyone else sees this thread the thing that "fixed" the problem was to remove the SDK from my machine, restart XCode, then plug in the device. XCode then popped up an alert view asking to collect the debugging symbols from the device, which I allowed it to do. From then on it worked like a charm.


You may be testing your application on simulator and accidentally, device is selected instead of simulator. It help me to sort out this problem.


Make sure you have upgraded to the latest Xcode 3.2.5 with iOSK 4.2.1 SDK.


I had another way of fixing this problem.

I tried upgrading my device to iOS5 Beta 7 ...to test my app in iOS5 Once i finished testing it, wanted to get back 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 didn't work and got the same error as mentioned here.

So i wanted to see what i see in that snapshot that you have : and there it was... A button called "enable for debugging" if i'm not mistaken.

Worked like a charm.... :)

0

精彩评论

暂无评论...
验证码 换一张
取 消