Xcode 8显示配置配置文件不包含签名证书的错误。
此问题仅适用于Xcode-8和Xcode 7,相同的配置文件显示相关已识别的证书。
Xcode 8显示配置配置文件不包含签名证书的错误。
此问题仅适用于Xcode-8和Xcode 7,相同的配置文件显示相关已识别的证书。
当前回答
同样的错误。 配置文件似乎更新了,添加了新的证书,我甚至在下载时检查了它。还撤销了前开发商的证书,排除在提供配置文件。 但是Xcode仍然在问我之前的证书有错误:
No certificate for team 'MY_TEAM' matching 'iPhone Developer: FORMER_DEVELOPER' found
那么,我是怎么解决的呢:
去构建设置->签名->代码签名标识 找到所有“FORMER_DEVELOPER”证书并选择所需的证书。
希望它能帮助到一些人。
其他回答
“启用自动签名”,然后从下拉菜单中选择一个团队,帮助我解决了这个问题。
对于那些仍然在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.
检查你的钥匙链,也许你有一个重复的证书。
我有我撤销的证书的剩余私钥,证书没有了,但私钥没有。删除它们就解决了问题。
要找到他们:
打开钥匙串访问 点击左侧菜单类别下的“键” 寻找未绑定证书的iOS Developer:…"密钥 我删除了它们,问题就解决了
图中高亮显示的密钥是一个没有证书的样例私钥。
点击然后取消“启用自动签名”对我来说是有效的,尽管它所做的实际改变是:
Always_embed_swift_standard_libraries = yes;
或者在Xcode中,它被称为始终嵌入Swift标准库
我收到了苹果公司的一封邮件:
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%正确。