如何使用 Xcode 自动创建分发证书?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13052554/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 01:55:50  来源:igfitidea点击:

How to create Distribution Certificate automatically with Xcode?

xcodecertificate

提问by Arvis

Followed by Apple recommendation to use Xcode to Create a Distribution Certificate and info here: http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/DevPortalGuide/ManaginganiOSDistributionCertificate/ManaginganiOSDistributionCertificate.html

其次是 Apple 建议使用 Xcode 创建分发证书和信息:http: //developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/DevPortalGuide/ManaginganiOSDistributionCertificate/ManaginganiOSDistributionCertificate.html

a can't create that certificate at all!! Already deleted all my keys, certificates and provisionin profiles several times to start from clean ground up but nothing. Xcode succesfuly created only Development certificate automatically not the Distribution one (i have Admin role in team not agent).

根本无法创建该证书!已经多次删除我所有的密钥、证书和配置文件,从头开始,但什么也没有。Xcode 成功地仅自动创建了开发证书而不是分发证书(我在团队中具有管理员角色而不是代理)。

When i create that certificate manualy i'm forced to end up with two keys in my keychains - one created by Xcode in development certificate creation process, and the secod one (with identical info) i must create manually for Distribution Certeficat in CSR process!

当我手动创建该证书时,我被迫在我的钥匙串中使用两个密钥 - 一个由 Xcode 在开发证书创建过程中创建,第二个(具有相同的信息)我必须在 CSR 过程中为分发证书手动创建!

So, has anyone managed to create that distrubution certificate with Xcode4.5

那么,有没有人设法使用 Xcode4.5 创建该分发证书

回答by Chris C

You can only have 1 distribution certificate per developer team. You have to manually download it from the provisioning portal, as well, you can't install it through organizer as far as I'm aware.

每个开发团队只能拥有 1 个分发证书。您还必须从配置门户手动下载它,据我所知,您无法通过管理器安装它。

Log in to developer.apple.com, click iOS provisioning portal, click Certificates, then click Distribution. You should see the distribution certificate there, which you can download. Note- if someone else installed the certificate, I'm pretty sure you will be unable to install it from the download. You'll have to export it from their keychain.

登录 developer.apple.com,单击 iOS 配置门户,单击证书,然后单击分发。您应该在那里看到分发证书,您可以下载该证书。注意 - 如果其他人安装了证书,我很确定您将无法从下载中安装它。您必须从他们的钥匙串中导出它。

Edit after 6 years- You can now have more distribution certificates per team. 3 for an App Store account, 2 for Enterprise.

6 年后编辑 - 您现在可以为每个团队拥有更多分发证书。3 个用于 App Store 帐户,2 个用于企业。