简体   繁体   English

为什么我的 iOS 分发证书“不在钥匙串中”?

[英]Why is my iOS Distribution Certificate 'Not in Keychain'?

So I created a distribution certificate and provisioning profile etc, and when I went to Xcode and checked my account preferences and chose Manage Certificates, it originally had no problem.所以我创建了一个分发证书和配置文件等,当我去 Xcode 并检查我的帐户首选项并选择管理证书时,它最初没有问题。 Now, when trying to upload my app to the store, it is grey and says, 'Not in Keychain'.现在,当我尝试将我的应用程序上传到商店时,它是灰色的并显示“不在钥匙串中”。 Just to add, when I clicked download on the Apple dev site for the distribution certificate, I did not get the popup that asks you to 'add' to keychain even after clicking on my download.补充一点,当我在 Apple 开发站点上单击下载以获取分发证书时,即使单击我的下载,我也没有收到要求您“添加”到钥匙串的弹出窗口。 Is that what's wrong?这是怎么回事? How do I get that popup?我怎么得到那个弹出窗口? How can I fix this?我怎样才能解决这个问题? thanks.谢谢。

Apple will not store your private key on the developer platform. Apple不会将您的私钥存储在开发人员平台上。 You will always have to keep the private key in your keychain or some other safe place. 您将始终必须将私钥保存在钥匙串或其他安全的地方。 If you see the message "Not in keychain" in the "Manage Certificates..." dialog of Xcode's Accounts preferences, it means that there is no copy of the certificate including the private key in your keychain. 如果在Xcode的“帐户”首选项的“管理证书...”对话框中看到消息“不在钥匙串中”,则意味着在钥匙串中没有证书的副本,包括私钥。 Do you have another account from where you can retrieve it? 您是否有另一个帐户可以从中取回? Then export from the keychain there and import it here where you need it. 然后从那里的钥匙串中导出,然后将其导入您需要的位置。

1,从Appledevelop 主要账户下载cer证书文件,运行安装 2,在钥匙串中找到证书导出.p12文件 3,下载需要的. 1,从Apple开发的主要安装账户下载cer证书文件,运行2,在钥匙串中找到证书导出.p12文件3,下载需要的。 mobileprovision 文件 4,放到目标Mac上运行这里两个 5,文件要在钥匙串 '登录目录下' (* 选择钥匙串登录再运行.p12文件) mobileprovision 文件 4,老人目标 Mac 上运行两个 5,文件要在钥匙串“登录目录下”(*这里选择钥匙串登录再运行.p12文件)

  1. Download the CER certificate file from the appledevelop main account and run the installation从appledevelop主账号下载CER证书文件,运行安装
  2. Find the certificate export.找到证书导出。 P12 file in the keychain钥匙串中的 P12 文件
  3. Download the required.下载需要的。 Mobileprovision file移动配置文件
  4. Put them on the target Mac and run these two将它们放在目标 Mac 上并运行这两个
  5. The file should be in the "login directory" of the keychain (* select the keyChain string to log in and then run the. P12 file)该文件应该在keychain的“登录目录”中(*选择keyChain字符串登录然后运行.p12文件)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM