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

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


当前回答

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

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

其他回答

点击然后取消“启用自动签名”对我来说是有效的,尽管它所做的实际改变是:

Always_embed_swift_standard_libraries = yes;

或者在Xcode中,它被称为始终嵌入Swift标准库

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

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

我也有同样的问题,原因是佩妮。在生成设置中选择了错误的配置文件和证书。我几天前才这么做过。所以,你不需要在xcode中启用“automatic”。在执行此操作之前,请检查构建设置中的配置文件。

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

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