xcode iphone - 分发证书未显示在钥匙串访问中
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11291296/
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
iphone - distribution certificate not showing in keychain access
提问by user987723
I need to upload an app. I have built to the app store. I've been following the walkthroughs and have got stuck on the bit when i download the distribution certificate.my provisioning profile is listed under the provisioning profile column, ive just blanked it out. when i download the certificate, i double click it, keychain access opens and my certificate is listed in the 'certificates' tab, but not the 'my certificates' tab with no dropdown to show a private key has been created. Is there something Im missing? ive been through 4 different walkthroughs all saying i need to just double click the certificate.
我需要上传一个应用程序。我已经内置到应用程序商店。我一直在关注演练,但在下载分发证书时遇到了问题。我的配置文件列在配置文件列下,我只是将其清除。当我下载证书时,我双击它,钥匙串访问打开,我的证书列在“证书”选项卡中,但不是“我的证书”选项卡,没有下拉菜单显示已创建私钥。有什么我想念的吗?我经历了 4 个不同的演练,都说我需要双击证书。
Thanks in advance for any help.
在此先感谢您的帮助。
采纳答案by Mayjak
Judging by the Expiration Date this certificate was created a while ago.
从过期日期来看,这个证书是在不久前创建的。
If you are using a different computer, or simply do not have the private key saved for any reason you will not be able to use this certificate. Basically, you have 2 options:
如果您使用不同的计算机,或者出于任何原因根本没有保存私钥,您将无法使用此证书。基本上,您有两个选择:
- Find the original private key that was used to create this certificate and import it to keychain.
- Simply revoke it and create a new one, don't worry, it will not affect your ability to deploy on the App Store. Just remember to recreate distribution provisioning profiles as well.
- 找到用于创建此证书的原始私钥并将其导入钥匙串。
- 只需撤销它并创建一个新的,不用担心,它不会影响您在 App Store 上部署的能力。请记住还要重新创建分发配置文件。
回答by Eren Be?el
In XCode Organizer, under Library->Provisioning Profiles, try refreshing the list by clicking the refresh icon on the bottom right corner. It will connect to your developer account and retrieve the profiles again.
在 XCode Organizer 中,在 Library->Provisioning Profiles 下,尝试通过单击右下角的刷新图标来刷新列表。它将连接到您的开发者帐户并再次检索配置文件。
回答by Vlad
If you have not added certificate manualy try check Apple Developer account. Sometimes limit reached and XCode does not notice about it :(
如果您尚未手动添加证书,请尝试检查 Apple Developer 帐户。有时达到限制并且 XCode 没有注意到它:(
In case you created and added (manualy) certificate to keychain - just restart XCode and try again.
如果您创建并添加(手动)证书到钥匙串 - 只需重新启动 XCode 并重试。