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

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


当前回答

这可能对你有帮助

iOS分发配置

场景:

另一个开发人员给了我一个证书。

我简单地安装了这个

错误:

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

这不是完全正确的错误。

错误是私钥丢失

Preference -> Accounts ->双击team

呼叫开发人员发送私钥。

并将其安装到本地

第二个解决方案

创建新的证书。 编辑现有的配置配置文件 包括新证书 保存及下载

其他回答

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

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的文件

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

I haven't seen this mentioned yet but if you are still having issues after recreating your provisioning profiles, deleting the existing ones you have in your Provision Profiles folder, checking for dupes in your Keychain, etc (all other answers ITT), open your Target > Build Settings > Code Signing and make sure everything looks consistent in there. For example, I had changed the Code Signing Identify for Debug to a Distribution identity, which obviously wouldn't work as the Development Provisioning Profile doesn't have the Distribution certificate and was causing the error in the first place.