Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何调试与代码签名和缺少证书相关的错误?我可以从命令行执行该过程吗?
在“组织者 > 配置文件”下的 XCode 中,我得到“在您的钥匙串中找不到与此配置文件匹配的有效签名身份”。我该如何调试这个问题?
可能出现的问题:
证书已过期
证书已更新,但未更新申请条款
钥匙串中缺少私钥/公钥。它们应该在您创建证书请求时生成。
证书和公钥/私钥存储在默认密钥链以外的密钥链中。
我尝试了上述所有解决方案,但没有成功——我能够通过右键单击我的系统钥匙串(在钥匙串访问中)并将其设为默认钥匙串来解决它。在此之前,我的默认设置为“登录”。