Xcode 8显示配置配置文件不包含签名证书的错误。
此问题仅适用于Xcode-8和Xcode 7,相同的配置文件显示相关已识别的证书。
Xcode 8显示配置配置文件不包含签名证书的错误。
此问题仅适用于Xcode-8和Xcode 7,相同的配置文件显示相关已识别的证书。
当前回答
以下是为我解决的步骤(对于那些在XCode 9.2中面临相同问题的人):
刚刚手动删除了~/Library/MobileDevice/Provisioning profiles中的本地配置文件。 删除并创建了开发人员帐户中的所有证书和配置配置文件。 从Xcode中删除了开发者帐户,并重新添加了它。
解决了我的问题!: -)
其他回答
我也有同样的问题。 我换了mac。当我下载Xcode证书时,我收到了一条错误消息:“错误是安全配置文件不包括证书签名。”
1)登录https://developer.apple.com/account/ios/profile/limited/edit Select the project => edit => Certificates => Select All => Create => Download
2)在Xcode中:项目文件=>签名(调试)=>配置文件=>导入文件=>选择带1的文件
对我来说,以上的解决方案都没用。我从两个旧的mac迁移到一个新的mac,试图让发布/调试配置文件在Xcode上工作,而不需要Xcode自动管理它们。
我的解决方案是,当我创建两个新的证书时,我还必须进入我的配置配置文件,并将新证书添加到配置配置文件中,以便识别它们。下载完成后,xcode删除了所有错误,一切就绪。
希望这能帮助到一些人!
此问题是由于您的配置文件中的证书中的私钥与您的密钥链中的私钥不匹配。我解决这个问题的方法是
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的代码签名问题也是如此。
对于那些仍然在Xcode8中与这个问题作斗争的人。对于我来说,这是一个重复的证书问题,这是我解决它的方法:
我读了尼克的回答,然后开始了我的调查。我检查了我的特定案例中的所有密钥和证书(在~/Library/Keychains/System.keychain中)。
When I opened the file, I found that I had two iPhone Distribution Certificates (that was the certificate that Xcode was requesting me), one with the iOS Distribution private key that I have been using since the beginning, and another iPhone Distribution Certificate which its private Key had a name (iOS Distribution:NAME) that wasn´t familiar for me. I deleted this last certificate, started Xcode again and the problem was gone. xCode wasn´t able to resolve that conflict and that´s why it was giving signing certificate error all the time.
检查你的钥匙链,也许你有一个重复的证书。
同样的错误。 配置文件似乎更新了,添加了新的证书,我甚至在下载时检查了它。还撤销了前开发商的证书,排除在提供配置文件。 但是Xcode仍然在问我之前的证书有错误:
No certificate for team 'MY_TEAM' matching 'iPhone Developer: FORMER_DEVELOPER' found
那么,我是怎么解决的呢:
去构建设置->签名->代码签名标识 找到所有“FORMER_DEVELOPER”证书并选择所需的证书。
希望它能帮助到一些人。