Xcode 8显示配置配置文件不包含签名证书的错误。
此问题仅适用于Xcode-8和Xcode 7,相同的配置文件显示相关已识别的证书。
Xcode 8显示配置配置文件不包含签名证书的错误。
此问题仅适用于Xcode-8和Xcode 7,相同的配置文件显示相关已识别的证书。
当前回答
尝试直接从会员中心下载证书/配置文件,而不是从Xcode下载。
当我从会员中心手动下载它们时,它为我工作了。
其他回答
这可能对你有帮助
iOS分发配置
场景:
另一个开发人员给了我一个证书。
我简单地安装了这个
错误:
Xcode 8显示配置配置文件不包含签名证书的错误
这不是完全正确的错误。
错误是私钥丢失
Preference -> Accounts ->双击team
呼叫开发人员发送私钥。
并将其安装到本地
第二个解决方案
创建新的证书。 编辑现有的配置配置文件 包括新证书 保存及下载
Xcode 11
这是我得到的错误
配置文件“XXX”不包含签名证书“Apple Development: XXX (XXX)”。
现在Xcode 11自动创建了一个证书“Apple Development: XXX”,该证书对所有平台都有效
你只需要
访问https://developer.apple.com 转到配置配置文件 检查是否已选择此证书
在我的情况下,在钥匙串我有两个证书同名,我删除了其中一个证书是重复的,然后它解决了这个问题。
检查您的钥匙串,查找缺少私钥的身份。我为同一个团队安装了多个分发证书,其中一个缺少私钥。Xcode只检查密钥链中第一个匹配的标识,并自动使用这个标识,而不是包含私钥的标识。
删除没有私钥的匹配标识使Xcode再次检测到正确的标识。
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.