配置文件与默认钥匙串中的任何有效证书/私钥对都不匹配 [英] Profile doesn't match any valid certificate/private-key pair in the default keychain

查看:736
本文介绍了配置文件与默认钥匙串中的任何有效证书/私钥对都不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为公司开发应用程序,他们给了我管理员角色,以便我可以编辑配置文件。我收到找不到分发文件的有效签名身份和配置文件与XCode上的默认钥匙串中的任何有效证书/私钥对不匹配错误,通常我会通过创建一个密钥链来撤销分发配置文件我的Mac,但该公司有其他应用程序,我不能冒风险撤销它,因为点击撤销会发出以下警告。

I am developing an application for a company, they gave me the admin role so I can edit provisioning files. I am getting "Valid signing identity not found for distribution file" and "Profile doesn't match any valid certificate/private-key pair in the default keychain" error on XCode, normally I would revoke the distribution profile by creating a key chain from my mac, but the company have other applications and I can not risk revoking it because clicking revoke gives the following warning.

撤销此证书可能会使一个或多个配置文件无效在程序门户中。已安装在设备上的供应配置文件将继续运行,直到供应配置文件到期。

"Revoking this certificate may invalidate one or more Provisioning Profiles in the Program Portal. Provisioning Profiles already installed on devices will continue to run until the provisioning profile expires."

有没有办法添加新的密钥对而不撤销分发证书,会撤销当前证书对其他应用程序的影响还是有其他解决方案来解决这个问题?

Is there a way to add a new key pair without revoking the distribution certificate, would revoking the current certificate effect other applications or are there any other solutions to this problem?

推荐答案

你需要私有与分发证书关联的密钥。

You need the private key associated with the distribution certificate.

请求为公司创建分发证书的人员,以获取与分发证书关联的私钥。让他从他的钥匙串中导出私钥!请他记住在右键单击并将其导出为.p12 之前,同时选择分发证书和私钥。在右键单击并将其导出为.p12 之前,同时选择分发证书和私钥。

Request the person who created the distribution certificate for the company for the private key associated with the distribution certificate. Get him to export the private key from his keychain! Ask him to remember to select both the distribution certificate and private key together before right clicking and exporting it as .p12 Select both the distribution certificate and private key together before right clicking and exporting it as .p12

打开.p12后,它应与分发配对证书(您的钥匙串中已有的.cer文件)。您的配置文件应该可以正常工作!

Once you open the .p12 it should pair up with the distribution certificate (the .cer file you should already have in your keychain). Your provisioning profile should work fine then!

让我知道它是否有效!

这篇关于配置文件与默认钥匙串中的任何有效证书/私钥对都不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆