代码签名错误:与默认钥匙串中的密钥对不匹配
*****代码签名错误:身份“iPhone 开发人员:XXXXXXXXXX”与默认钥匙串中的任何有效证书/私钥对不匹配**。***
我是开发人员配置文件中的成员,我有配置配置文件已安装,这里一定有什么问题?
代码签名错误:身份“iPhone Developer: XXXXXXXXXXXX”与默认钥匙串中的任何有效证书/私钥对都不匹配
我该怎么办?我已经寻找解决方案但仍然没有找到。
*****Code Sign error: The identity 'iPhone Developer: XXXXXXXXXX' doesn't match any valid certificate/private key pair in the default keychain**.***
I am a member in developer profile, I have the provisioning profile installed, what must be the problem here?
Code Sign error: The identity 'iPhone Developer: XXXXXXXXXXXX' doesn't match any valid certificate/private key pair in the default keychain
What am I supposed to do? I already searched for a solution but still didn't find any.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
此错误表明您的证书或私钥存在问题。
如果您打开钥匙串访问(在应用程序/实用程序中),您是否会在证书中看到“iPhone Developer: XXXXXXXXXX”?如果没有,您需要从计划门户下载。
当您创建证书“iPhone Developer: XXXXXXXXXX”时,您是否在您现在用于编译的同一台计算机上生成了证书签名请求??如果没有,则您的证书附带的私钥可能未安装在计算机上;生成签名请求的人需要将其发送给您,并且您需要将其添加到您的钥匙串中。
This error suggests that there is a problem with either your certificate or your private key.
If you open Keychain Access (in Applications/Utilities), do you see 'iPhone Developer: XXXXXXXXXX' in your certificates? If not, you need to download it from the Program Portal.
When you created the certificate 'iPhone Developer: XXXXXXXXXX', did you generate a certificate signing request on the same computer that you are now using to compile? If not, the private key that goes with your certificate may not be installed on the computer; whoever generated the signing request will need to send it to you, and you will need to add it to your keychain.
Apple 解决该问题的步骤如下:如何解决 CodeSign 错误:身份“iPhone Developer”与任何有效的身份不匹配默认钥匙串中未过期的证书/私钥对
Apple's steps to troubleshoot the issue are here: How do I resolve the CodeSign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in the default keychain
然后再次启动 xcode,你很幸运。
对于我的情况,它就像:
Then start xcode again and you're lucky.
For my case it was like: