简体   繁体   English

iOS 开发/分发证书,缺少私钥

[英]iOS development/distribution certificate, missing private key

I have problem when I try to upload new app version我尝试上传新应用版本时遇到问题

在此处输入图像描述

In Enterprise Accounts there are only 2 distribution certificates allowed and you have to be careful: if you revoke an Enterprise certificate, all apps signed with that certificate will stop working immediately (after having Internet of course).在 Enterprise Accounts 中只允许 2 个分发证书,您必须小心:如果您撤销 Enterprise 证书,所有使用该证书签名的应用程序将立即停止工作(当然是在 Internet 之后)。 So the only possible way to share an Enterprise account is that one person creates the certificate (incl. private key) and shares it with all participants.因此,共享企业帐户的唯一可能方法是一个人创建证书(包括私钥)并与所有参与者共享。 Before the certificate expires this person has to create the second one and share that with everybody so that they can sign on time a new release.在证书过期之前,此人必须创建第二个证书并与所有人共享,以便他们可以按时签署新版本。

Like Dhaval commented, the one person can export the certificate and private key in the Keystore-App.就像 Dhaval 评论的那样,一个人可以在 Keystore-App 中导出证书和私钥。 There you can select and export certificate and key separately or mark both and export them together.在那里您可以 select 和单独导出证书和密钥或标记两者并一起导出。 Import is done the same way.导入以相同的方式完成。 If you only get the private key, you can also download the certificate in the developer portal.如果只获取私钥,也可以在开发者门户中下载证书。

Actually Certificates from your keychain got deleted and that's why this error is coming.实际上,您钥匙串中的证书已被删除,这就是出现此错误的原因。

Solution is , just go to your Apple account open certificates and identifiers the go to your certificates and download the certificates which are related to this app and, download them and then double click on them to add to your keychain.解决方案是,只需 go 到您的 Apple 帐户打开证书和标识符 go 到您的证书并下载与此应用程序相关的证书,下载它们然后双击它们以添加到您的钥匙串。 now close your project and open it again and now go to certificates and signing option in Xcode and just uncheck and check again automatically manage signing.现在关闭您的项目并再次打开它,现在 go 到 Xcode 中的证书和签名选项,然后取消选中并再次选中自动管理签名。 This will resolve your answer.这将解决您的答案。

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

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