xcode 此 Mac 上未安装“myName”的私钥问题

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

Trouble with the private key for "myName" is not installed on this mac

iosxcode

提问by nobinobiru

I tried to validate my xcode project but it cause error that 'the private key for "my name" is not installed on this mac"

我试图验证我的 xcode 项目,但它导致“我的名字的私钥没有安装在这台 Mac 上”的错误

Because this project was created by another Mac Computer.And that has broken. So , I can't export this private key to it which I am using .

因为这个项目是由另一台 Mac 电脑创建的。而这已经坏了。因此,我无法将此私钥导出到我正在使用的它。

Do you have any idea?

你有什么主意吗?

Thanks in advance

提前致谢

回答by Sumanth

You should revoke your distribution certificate in your account. So that it ask the .cerkeyfile in your account again. You can create .cerfile in your keychain go to Request a Certificate from a Certificate Authorityand give your details that your mail id etc. so that it will create .cerfile and in developer.apple.comyou can upload the cerfile once you revoke your distribution certificate so that it will generate the certificate which can be installed in your system. enter image description hereenter image description here

您应该撤销您帐户中的分发证书。以便它.cer再次询问您帐户中的密钥文件。您可以.cer在您的钥匙串中创建文件,Request a Certificate from a Certificate Authority并提供您的邮件 ID 等详细信息,以便.cer在您撤销分发证书后创建文件并developer.apple.com上传cer文件,以便生成可以安装的证书你的系统。在此处输入图片说明在此处输入图片说明