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

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


当前回答

我尝试了很多方法,但唯一解决这个问题的方法是在xcode中配置一些东西:

构建设置->签名:

代码签名标识:所有选项均选择iOS Developer。 代码签名风格:自动 配置文件:自动

其他回答

为了解决这个问题,

我只是在项目设置通用选项卡上启用了“自动管理签名”,在启用之前,我担心它可能会有一些副作用,但一旦我启用,它就为我工作了。

我收到了苹果公司的一封邮件:

Dear John Doe, The following certificate has either been revoked by a member of your development team or has expired: Certificate: iOS Development Team Name: Honey Team, LLC This does not affect apps that you've submitted to the App Store or your ability to update your apps. If you're using provisioning profiles that contain this certificate, they must be recreated before they can be reused. For details, see the "App signing overview" section of Xcode Help. Best regards, Apple Developer Program Support


我创建了一个新证书,撤销了之前的证书(在本地和任何其他开发人员的mac上)。为了让它工作,我必须下载新的配置文件。

解决方案是:

登录到苹果开发者帐户 删除/撤销以前以我的名字创建的证书。 将新的证书添加到供应配置文件中。您可以根据有效期来识别较新的 再次从Xcode下载。下载所有配置文件 重启Xcode

我个人没有这样的机会。这种访问权限只对我们团队的管理员开放,因此我没有截图,也不确定这些步骤是否100%正确。

我也有同样的问题。 我换了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中。 否则,如果您使用的证书是由其他人创建的,那么让他们共享/导出他们的证书和私钥(。P12文件)给你,你需要包括这个到你的钥匙链。请参考这里

当您无法从创建者那里获得证书& .p12文件时,#2的解决方案是选中“自动管理签名”选项。

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

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