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

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


当前回答

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

Always_embed_swift_standard_libraries = yes;

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

其他回答

这可能对你有帮助

iOS分发配置

场景:

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

我简单地安装了这个

错误:

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

这不是完全正确的错误。

错误是私钥丢失

Preference -> Accounts ->双击team

呼叫开发人员发送私钥。

并将其安装到本地

第二个解决方案

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

我为此挣扎了很多天。

步骤1: 删除所有证书,配置文件,appID,密钥等从开发帐户。

步骤2: 重新创建推送通知证书、配置文件、应用ID等。

步骤3: 从keychain中删除所有证书。

步骤4: 清除~/Library/MobileDevice/ provisioning Profiles中的所有配置文件。

步骤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.

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

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