新电脑,旧配置文件,但 iPhone 不再工作

发布于 2024-10-30 17:17:15 字数 412 浏览 1 评论 0原文

像往常一样,配置文件问题。我会保持简短。

我得到了一台新笔记本电脑。安装了 XCode。从我的旧机器导出配置文件并将其导入到新机器。我的 iPhone 在设备列表中显示正常,已连接,附加到正确的配置文件。

但是当我尝试使用该设备进行调试时,它告诉我

No provisioned iOS devices are available. Connect an iOS device or choose an iOS simulator as the destination.

我已经尝试过刷新、重新添加、重新创建。它不感兴趣。

我有什么遗漏的吗?我需要创建新证书吗?我是否需要从头开始重新创建一个全新的配置配置文件?

感谢您能给我的任何帮助、建议或情感支持。

邓克们

Provisioning Profile problems, as usual. I'll keep it brief.

I got a new laptop. Installed XCode. Exported the provisioning profile from my old machine and imported it to the new one. My iPhone shows up fine in the devices list, connected, attached to the correct profile.

But when I try and debug using the device, it tell me

No provisioned iOS devices are available. Connect an iOS device or choose an iOS simulator as the destination.

I've tried refreshing, re-adding, re-creating. Its not interested.

Is there something I'm missing. Do I need to create new certificates? Do I need to re-create a whole new profisioning profile from scratch.

Thanks for any help or advice or emotional support you can give me.

the duncs

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

眼中杀气 2024-11-06 17:17:15

您必须从旧计算机上的钥匙串应用程序导出证书并将其导入新计算机的钥匙串中。您可以从配置中心重新下载您的配置配置文件,但您的证书不能;他们必须被迁移。

编辑:我可能把它搞混了。我认为您必须导出/导入的是您的私钥。

You have to export your certificates from the keychain app on the old machine and import them into the new machine's keychain. You can re-download your provisioning profiles from the provisioning center, but your certificates can't; they must be migrated.

EDIT: I might have muddled it up. I think it's your private keys that you have to export/import.

榕城若虚 2024-11-06 17:17:15

所以,事实证明我的密钥、证书或配置文件没有任何问题。无论如何,如果其他人也遇到同样的问题:

我的 iPhone 版本是 4.2,但 iOS 设备的默认设置是 4.3。

通过将 iOS 开发目标设置为 4.2 来修复此问题。

我确信这是一个男生的错误,但绝对不是一个明显需要解决的错误。出现类似“找不到构建版本 4.3 的 iOS 设备”的错误。但无论如何。感谢大家的帮助和时间。

So, turns out there was nothing wrong with my keys or my certificates or provisioning profiles. For what its worth, if anyone else has the same problem:

My iPhone version was 4.2, but the default setting for the iOS device to build to was 4.3.

Fixed it by setting the iOS development target to 4.2.

School boy error I'm sure, but definitely not an obvious one to work out. An error along the lines of 'no iOS device of build version 4.3 could be found'. But anyway. Thanks to everyone for their help and time.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文