Provisioned iPhone not showing in Xcode Organizer (or iTunes)

爷,独闯天下 提交于 2019-12-22 07:21:15

问题


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

  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?




回答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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!