xcode 错误消息“未连接已配置的 iPhone 操作系统设备”是什么意思。意思?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/841719/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does the error message "No provisioned iPhone OS device is connected." mean?
提问by Thanks
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.
我关闭电源重新启动它,但我仍然收到该消息。
回答by Thanks
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)
- 检查配置文件是否仍在 ~/Library/MobileDevice/Provisioning Profiles 中
如果没有,请从 iPhone Developer Program 网站下载
设备电源关闭(真的关闭......你可以通过按住那个大待机按钮几秒钟来做到这一点)
退出 Xcode(真正退出:检查 Dock,它没有运行)
激活设备(开机),等待它完全启动
插件到您的 Mac
等到烦人的 iTunes 自动启动,等到它同步了你的 iPhone/iPod touch,然后关闭 iTunes(真的关闭)。
启动Xcode
构建与运行
祈祷并玩得开心(希望如此)
回答by Eric Petroelje
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.
我以前也遇到过这种情况。我也不确定是什么原因造成的,但在大多数情况下,关闭手机然后重新打开可以解决问题。
回答by Morieris
I was going to mention that dev certs eventually expire, until I saw you mention "My Apple Dev Enrollment is brand new."
我本来想说开发者证书最终会过期,直到我看到你提到“我的 Apple 开发者注册是全新的”。
Posting anyway in case it helps others... If your setup stops working out of the blue, you may have to download fresh certificates.
无论如何发布,以防对其他人有帮助......如果您的设置突然停止工作,您可能需要下载新证书。
回答by mahen
if the ipod is brand new u have to check the (use for development) option in organiser
如果 ipod 是全新的,您必须检查管理器中的(用于开发)选项