简体   繁体   English

将开发人员资料导入xcode:证书灰显

[英]Import Developer profile into xcode: certificates greyed out

I have been stuck on this for hours..I downloaded the certificate from my developer account, I also downloaded the WWDR intermediate certificate. 我被困在这几个小时..我从我的开发者帐户下载了证书,我还下载了WWDR中间证书。 When I click Import Developer Profile from inside xcode all of these certificates are greyed out.. Any ideas? 当我从xcode中单击Import Developer Profile时,所有这些证书都显示为灰色..有什么想法吗?

You can import Developer profile into Xcode which file have a .developerprofile extension which was exported by Xcode. 您可以将Developer profile导入Xcode,该文件具有由Xcode导出的.developerprofile扩展名。 Xcode->Preference->Account->[SETTING ICON]->Export Accounts. Xcode->首选项 - >帐户 - > [设置图标] - >导出帐户。

From xcode 6.x, Xcode export ipa only with distribution certificate. 从xcode 6.x开始,Xcode仅使用分发证书导出ipa。 So you must have valid distribution certificate install in keychain. 因此,您必须在钥匙串中安装有效的分发证书。

If you setup developer certificate and trying to export then 如果您设置了开发人员证书并尝试导出

if distribution certificated is not created in developer portal ,then xcode will automatically create it. 如果未在开发人员门户中创建分发证书,则xcode将自动创建它。

if distribution certificated is already created by other mac , and you have not install in your mac then Xcode will give message "Your account already has a valid iOS Distribution certificate" 如果已经由其他mac创建了分发证书,并且您尚未在Mac中安装,那么Xcode将给出消息“您的帐户已经拥有有效的iOS分发证书” 在此输入图像描述

Then You can either install Distribution certificate by .p12 file exported by keychain from old mac OR by .developerprofile extension. 然后,您可以通过密钥链从旧mac或.developerprofile扩展名导出.p12文件来安装分发证书。 exported by xcode from old mac OR Revoke Existing Certificate and create new one and install 由旧的mac或撤销现有证书的xcode导出并创建新的并安装

Then Remove account from xcode and add it again. 然后从xcode中删除帐户并再次添加。 Then try again to build. 然后再试一次。

Bundle Identifier and your provisioning profile Id should match . 捆绑标识符和您的配置文件ID应匹配。 Check that 检查一下

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

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