Xcode 8显示配置配置文件不包含签名证书的错误。

此问题仅适用于Xcode-8和Xcode 7,相同的配置文件显示相关已识别的证书。


当前回答

尝试直接从会员中心下载证书/配置文件,而不是从Xcode下载。

当我从会员中心手动下载它们时,它为我工作了。

其他回答

出现这种情况是因为配置配置文件无法找到它所链接的证书的文件。

修复:

检查哪个证书链接到您的配置配置文件 在Apple Developer仪表板的Certificates, Identifiers & Profiles部分点击编辑你的配置文件 从仪表板下载证书 双击该文件将其安装到您的钥匙链中 将文件拖到Xcode中以确保它是链接的

错误现在应该消失了。

此问题是由于您的配置文件中的证书中的私钥与您的密钥链中的私钥不匹配。我解决这个问题的方法是

delete all iPhone Developer certificate in keychain. delete all certificate in apple account. using xcode "Manage Certificates" to add certificate, sometime you still have certificate in your Mac, but I do not know where it is for now, and if added successfully, your apple account will display that certificate too, and then you can create your profile with that certificate and download ... goto 5 if you use "Manage Certificates" can't add certificate, you can create a new certificate, and do remain steps. finish.

Xcode版本8的代码签名问题也是如此。

“启用自动签名”,然后从下拉菜单中选择一个团队,帮助我解决了这个问题。

在我的案例中,问题是在Xcode Beta 11.5上,应用程序的签名方式发生了变化,所以只要确保调试/发布的供应证书都正确设置了

Xcode 11

这是我得到的错误

配置文件“XXX”不包含签名证书“Apple Development: XXX (XXX)”。

现在Xcode 11自动创建了一个证书“Apple Development: XXX”,该证书对所有平台都有效

你只需要

访问https://developer.apple.com 转到配置配置文件 检查是否已选择此证书