错误消息“没有配置iPhone OS设备已连接。”是什么意思?

时间:2022-09-14 20:51:22

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.

昨天我在我的设备上做了很多测试。突然,当我在Xcode中点击Build&Go时,我收到此错误消息。首先,它问我是否可以用我的钥匙签名。我单击是,然后出现该错误消息。我的iPod像往常一样连接,iTunes自动启动,我关闭它以防止中断。

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

我试过重启Xcode。没有帮助。我的Apple Dev Enrollment是全新的。知道问题可能是什么吗?

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.

您的移动设备遇到意外错误(0xE8000001)尝试断开连接并关闭设备电源;然后打开设备电源并重新连接。

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

我在断电时重启了它,但我仍然收到了这条消息。

4 个解决方案

#1


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.

我之前也有这种情况发生过。我不确定是什么导致它,但在大多数情况下关闭电源并重新打开再次解决了问题。

#2


So, the final solution to that problem:

那么,这个问题的最终解决方案:

  • Check if the provisioning profile is still in ~/Library/MobileDevice/Provisioning Profiles
  • 检查供应配置文件是否仍在〜/ Library / MobileDevice / Provisioning Profiles中

  • If not, go download it from the iPhone Developer Program website

    如果没有,请从iPhone开发者计划网站下载

  • 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)

    退出Xcode(真的退出:在Dock中检查它没有运行)

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

    激活设备(打开电源),等待它完全启动

  • Plugin to your mac

    插件到你的mac

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

    等到iTunes自动启动,等到它已经同步你的iPhone / iPod touch,然后关闭iTunes(真的关闭)。

  • Start Xcode

  • Build & Go

    Build&Go

  • Pray & have fun (hopefully)

    祈祷并玩得开心(希望如此)

#3


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

我要提一下,dev证书最终会过期,直到我看到你提到“我的Apple Dev Enrollment是全新的”。

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

无论如何都要张贴,以防其他人...如果您的设置停止工作,您可能需要下载新证书。

#4


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

如果ipod是全新的,你必须检查组织者中的(用于开发)选项

#1


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.

我之前也有这种情况发生过。我不确定是什么导致它,但在大多数情况下关闭电源并重新打开再次解决了问题。

#2


So, the final solution to that problem:

那么,这个问题的最终解决方案:

  • Check if the provisioning profile is still in ~/Library/MobileDevice/Provisioning Profiles
  • 检查供应配置文件是否仍在〜/ Library / MobileDevice / Provisioning Profiles中

  • If not, go download it from the iPhone Developer Program website

    如果没有,请从iPhone开发者计划网站下载

  • 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)

    退出Xcode(真的退出:在Dock中检查它没有运行)

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

    激活设备(打开电源),等待它完全启动

  • Plugin to your mac

    插件到你的mac

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

    等到iTunes自动启动,等到它已经同步你的iPhone / iPod touch,然后关闭iTunes(真的关闭)。

  • Start Xcode

  • Build & Go

    Build&Go

  • Pray & have fun (hopefully)

    祈祷并玩得开心(希望如此)

#3


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

我要提一下,dev证书最终会过期,直到我看到你提到“我的Apple Dev Enrollment是全新的”。

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

无论如何都要张贴,以防其他人...如果您的设置停止工作,您可能需要下载新证书。

#4


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

如果ipod是全新的,你必须检查组织者中的(用于开发)选项