Provisioned iPhone not showing in Xcode Organizer (or iTunes)

Old McStopher picture Old McStopher · Feb 22, 2011 · Viewed 13.6k times · Source

I've recently set up an app id and provisioning profile and was able to test my app on the device successfully. I then downloaded some sample iOS XCode projects and upon deploying one of them and deleting the sample app from the phone have since been unable to sync the phone with iTunes or see it as connected in the Xcode organizer window (the device is still listed in the lefthand pane, but shows up as disconnected). All new projects created in Xcode are now greeted with the following message when I attempt to build and run on the device.

No provisioned iOS device is connected.

I'm running Xcode 3.2.5 and iOS 4.2.

Any ideas?

Many thanks.

Answer

raidfive picture raidfive · Feb 22, 2011

Typically when I run across this issue I will

  1. Disconnect the device
  2. Clean the projects
  3. Delete the device from the Organizer
  4. Restart Xcode
  5. Reconnect the device

Then the majority of the time the device will be recognized again. I do find it strange that even iTunes can't recognize it though. Maybe try restarting the device even?