简体   繁体   English

拥有多个IOS开发人员帐户且无法创建IOS分发证书

[英]Having multiple IOS developer accounts and can not create IOS distribution certificate

I have 2 valid single IOS developer accounts and 1 mac book air. 我有2个有效的单个IOS开发者帐户和1个mac book air。 For better explaining my problem, I call my accounts as account A and account B . 为了更好地解释我的问题,我将帐户称为帐户A帐户B. My problem is I can create developer and distribution certificates for account A. However I can not create distribution certificate for account B with name of account B . 我的问题是我可以为帐户A创建开发人员和分发证书。但是,我无法为帐户B创建名称为帐户B的分发证书 Account B's distribution certificate takes name of account A' s name . 帐户B的分发证书使用帐户A的名称 In order to create certificates, I follow these steps: Open keychain access-->certificate assistant-->request certificate from a certificate authority-->entering account B name and mail address--> opening apple's developer page with account B login data and upload "certificate request file" to "create developer certificate" section and "create distribution certificate" section. 为了创建证书,我按照以下步骤操作:打开钥匙串访问 - >证书助理 - >从证书颁发机构请求证书 - >输入帐户B名称和邮件地址 - >打开带有帐户B登录数据的Apple开发者页面并将“证书申请文件”上传到“创建开发人员证书”部分和“创建分发证书”部分。 " Developer certificate " successfully takes name from account B but " distribution certificate " takes account A' s name. 开发人员证书 ”成功从帐户B获取名称,但“ 分发证书 ”考虑了帐户A的名称。 I revoked certificates from account A and account B. I deleted certificates from keychain access and provisioning profiles from xcode's organizer and developer page but still I can not create distribution certificate with account B 's name. 我撤销了帐户A和帐户B的证书。我从xcode的管理器和开发者页面中删除了钥匙串访问和配置文件中的证书,但我仍然无法使用帐户B的名称创建分发证书。 I have to send my application from account B because I created application at " itunesconnect " and I want to show developer name as account B. How can account B 's distribution certificate take name of account B' s name instead of account A' s name ? 我必须从帐户B发送我的申请,因为我在“ itunesconnect ”创建了应用程序,我想将开发者名称显示为帐户B.如何将帐户B的分发证书命名为帐户B的名称而不是帐户A 的名称 名字 What is the problem? 问题是什么?

The account A and B don't have the same Team name? 帐户A和B没有相同的团队名称? Because the Development Certificate is for a Team member and Distribution Cert. 因为开发证书适用于团队成员和分发证书。 is for a Team. 适用于团队。 So, if you have the same Team name for both accounts, the Distribution Certificate will have the same name. 因此,如果两个帐户具有相同的团队名称,则分发证书将具有相同的名称。

You can create extra keychains for certificates when you have multiple developer programs. 当您有多个开发人员程序时,可以为证书创建额外的钥匙串。 Setup one set of certs per each keychain you add. 为每个添加的钥匙串设置一组证书。

Xcode will only read certificates from the default keychain. Xcode只会读取默认钥匙串中的证书。 So when you want to work with a set, copy the certs from your secondary keychain into your default(login) keychain. 因此,当您想使用集合时,请将辅助钥匙串中的证书复制到默认(登录)钥匙串中。 Then move them back when your are done. 完成后再将它们移回去。

It's a less than ideal solution, but it was an Apple provided solution. 这是一个不太理想的解决方案,但它是Apple提供的解决方案。

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

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