问题
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.
回答1:
I had the same problem and posted about it over at Apple.SE. Reinstalling iTunes fixed it for me.
回答2:
Typically when I run across this issue I will
- Disconnect the device
- Clean the projects
- Delete the device from the Organizer
- Restart Xcode
- 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?
回答3:
On Xcode 5.1.1
Unplug device, remove device from Window
->Organizer
, Product
->Clean
, close Xcode
, plug in device, start Xcode
- Window
->Organizer
and add to Member Center
Hope this helps. The issue occurred for me when I enabled iCloud
and there was a sync issue on iTunes
.
来源:https://stackoverflow.com/questions/5073984/provisioned-iphone-not-showing-in-xcode-organizer-or-itunes