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

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


当前回答

我有我撤销的证书的剩余私钥,证书没有了,但私钥没有。删除它们就解决了问题。

要找到他们:

打开钥匙串访问 点击左侧菜单类别下的“键” 寻找未绑定证书的iOS Developer:…"密钥 我删除了它们,问题就解决了

图中高亮显示的密钥是一个没有证书的样例私钥。

其他回答

对于那些应该继续使用不自动的原因

打开keyChain访问,看看是否有两个相同的认证,如果有两个或更多,只需删除到一个,它将工作:)

在我的情况下,在钥匙串我有两个证书同名,我删除了其中一个证书是重复的,然后它解决了这个问题。

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

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的代码签名问题也是如此。

我也有同样的问题。 我换了mac。当我下载Xcode证书时,我收到了一条错误消息:“错误是安全配置文件不包括证书签名。”

1)登录https://developer.apple.com/account/ios/profile/limited/edit Select the project => edit => Certificates => Select All => Create => Download

2)在Xcode中:项目文件=>签名(调试)=>配置文件=>导入文件=>选择带1的文件

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