What does the error message “No provisioned iPhone

2020-03-27 17:47发布

Yesterday I testet a lot on my device. Suddenly I get this error message when I hit Build & Go in Xcode. First, it asks me if it's ok to sign with my key. I click yes, and then that error message appears. My iPod is connected as usual, iTunes starts automatically and I close that to prevent interruptions.

I tried restarting Xcode. Doesn't help. My Apple Dev Enrollment is brand new. Any idea what the problem might be?

Edit: In Window > Organizer I can see this message:

Your mobile device has encountered an unexpected error (0xE8000001) Try disconnecting and powering off the device; then power the device on and reconnect it.

I restarted it with power-off, but I still get that message.

4条回答
在下西门庆
2楼-- · 2020-03-27 18:05

if the ipod is brand new u have to check the (use for development) option in organiser

查看更多
放荡不羁爱自由
3楼-- · 2020-03-27 18:16

I was going to mention that dev certs eventually expire, until I saw you mention "My Apple Dev Enrollment is brand new."

Posting anyway in case it helps others... If your setup stops working out of the blue, you may have to download fresh certificates.

查看更多
▲ chillily
4楼-- · 2020-03-27 18:17

So, the final solution to that problem:

  • Check if the provisioning profile is still in ~/Library/MobileDevice/Provisioning Profiles
  • If not, go download it from the iPhone Developer Program website

  • Device power off (really off...you do that by holding that big standby button pressed for a few seconds)

  • Quit Xcode (quit really: Check in Dock that it's not running)

  • Activate device (power on), wait until it's bootet completely

  • Plugin to your mac

  • Wait until that harrying iTunes starts automatically, wait until it has synched your iPhone / iPod touch, and then switch iTunes off (really off).

  • Start Xcode

  • Build & Go

  • Pray & have fun (hopefully)

查看更多
相关推荐>>
5楼-- · 2020-03-27 18:20

I've had this happen before as well. I'm not sure what caused it either, but in most instances powering the phone off and back on again solved the problem.

查看更多
登录 后发表回答