尝试设置分发配置文件时出现问题

发布于 2024-12-01 17:25:32 字数 257 浏览 0 评论 0原文

我已经从 itunes connect 下载了我的应用程序的配置发行版和分发证书并执行了它们。

问题是,当我尝试选择“代码签名”分发文件时,计算机不允许我这样做,因为“配置文件与默认密钥链中的任何有效证书/私钥对不匹配”。

我转到“组织者”,我可以在“设备/库/配置文件”中看到我的配置分发,其状态显示“未找到有效的签名身份”,并且顶部显示“Xcode找不到有效的私钥/您的钥匙串中此配置文件的证书对”。

我知道我可能需要一些钥匙,这可能是问题所在吗?

I have downloaded from itunes connect the provisioning distribution and the distribution certificate for my app and executed them.

The problem is when i try to select for the "code signing" the distribution file, the computer doesn't let me because "profile doesn't match any valid certificate / private key pair in the default key chain" .

I went to "organizer" and i can see in the "devices/library/provisioning profiles" my provisioning distribution and it's status shows "Valid signing identity not found" and as the top it shows " Xcode could not find a valid private key/certificate pair for this profile in your keychain".

I understood that i might need some key, could this be the problem ?

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

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

发布评论

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

评论(2

绝影如岚 2024-12-08 17:25:32

在设备选项卡(您所在的位置)的管理器中使用 Xcode 4,您可以选中“自动设备配置”复选框,这将重新下载您的配置配置文件。

最好的部分是,如果您没有安装开发人员钥匙串,它将为您创建证书。对于分发:然后您可以转到配置门户,将正确的配置文件添加到分发证书并登录到应用程序商店。

(如果您有多个帐户,则可以为一个帐户安装证书,然后为另一个帐户重新下载证书。)

回顾:

  1. 删除无效的配置文件
  2. 删除与无效证书绑定的开发帐户的证书
  3. 单击带有“的刷新”按钮自动设备配置'已选中 重新
  4. 连接分发证书与分发配置文件
  5. 存档并签署应用程序商店
  6. 利润!

Using Xcode 4 in the Organizer in the Devices tab (where you are) you can check the checkbox which says 'Automatic Device Provisioning' this will re-download your provisioning profiles.

The best part is that if you do not have a developer keychain installed, it will create the certificates for you. For distribution: Then you can go to the provisioning portal, add the right profile to the distribution certificate and sign away to the app store.

(If you have multiple accounts you can have a certificate for one account installed and re-download the certificate for another account.)

Recap:

  1. Delete provisioning profile that is invalid
  2. Delete certificate of dev account that is tied to invalid certificate
  3. Click refresh button with 'automatic device provisioning' checked
  4. Reconnect distribution certificate with distribution profile
  5. Archive and sign for app store
  6. Profit!
初吻给了烟 2024-12-08 17:25:32

在请求配置文件(开发或分发)之前,您需要一个证书。您可以通过在计算机上生成证书签名请求,然后将 CSR 上传到门户来获得此信息。该过程创建密钥对,公钥包含在 CSR 中,并最终包含在生成的证书中。然后,您下载证书并将其添加到您的钥匙串中。您创建的配置文件将取决于您的钥匙串中是否有有效的证书。

Before you request a provision profile (either development or distribution) you need a certificate. You get that by generating a certificate signing request on your machine, and then uploading the CSR to the portal. That process creates a key pair, and the public key is included in the CSR and eventually in the resulting certificate. You then download the certificate and add it to your keychain. Provision profiles that you create will depend on you having a valid certificate in your keychain.

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