新 mac 机器上的 iPhone 证书和配置...等?

发布于 2024-08-05 23:14:48 字数 344 浏览 5 评论 0原文

我有一台旧的 mac mini,我用它来注册认证等等。 我从来没有真正到过实际使用它们的阶段,因为我只在 iPhone 模拟器上进行了测试。

今天我有一台新的 mac mini,我正在尝试部署到设备上。 这款新 mac mini 是否有我所缺少的任何问题?

当我构建&转到设备 3.0,我收到错误消息。 “代码签名错误:身份“iPhone Developer:”与默认钥匙串中的任何有效证书/私钥对不匹配”。

事实上,当我进入密钥访问链应用程序时,我可以看到我的密钥没有与之关联的证书(即使我列出了证书“iPhone Developer:”)。

对此的任何见解都完全是一个复杂的过程会帮助我的。 谢谢!

I had an older mac mini that I had used to register the certifications and....etc.
I never really got to the stage for actually using them since i only tested on the iPhone simulator.

Today I have a new mac mini, and i am trying to deploy to a device.
Is there any gotchas here that im missing with this new mac mini?

When i Build & Go to device 3.0 i get an error.
"Code sign error: the identity "iPhone Developer: " doesnt match any valid certificate/private key pair in the default keychain".

And indeed, when i go to the key access chain app, i can see that my keys dont have the certificate associated with it (even thought I have the certificate "iPhone Developer: " listed.

Any insights into this entirely to complex of a process would help me.
Thanks!

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

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

发布评论

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

评论(1

美煞众生 2024-08-12 23:14:48

X-Code 3.2 及更高版本中的一个新功能使这变得更加容易。

  1. 在您的旧计算机上,在 X-code 中,转到“管理器”窗口。
  2. 单击左侧窗格中的“开发者资料”。然后单击右侧窗格中的“导出开发者配置文件”。
  3. 保存文件并将其传输到您的新计算机。
  4. 在您的新计算机上,在 X-Code 中,转到“管理器”窗口。
  5. 单击左侧窗格中的“开发者资料”,然后单击右侧窗格中的“导入开发者资料”。
  6. 选择文件,一切都应该运行良好。至少,它对我有用。

我认为这会传输私钥,设置公钥和必要的证书。我不知道它是否有助于分发凭证。

There's a new feature in X-Code 3.2 and later that makes this a great deal easier.

  1. On your old computer, in X-code, go to the Organizer window.
  2. Click "Developer Profile" on the left pane. Then click "Export Developer Profile" on the right pane.
  3. Save the file and transfer it to your new computer.
  4. On your new computer, in X-Code, go to the Organizer window.
  5. Click "Developer Profile" on the left pane, then click "Import Developer Profile" on the right pane.
  6. Choose the file, and all should work well. At least, it worked for me.

I think this transfers the private key, sets up the public key and necessary certificates. I don't know if it helps with distribution credentials.

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