证书吊销后fastlane match怎么办?

What should I do with fastlane match after certificate revoked?

用户已吊销分发证书。下载新证书后(p12带key)还是无法获取

match appstore

上班。

我收到错误:

Certificate 'XXXXXXXXXX' (stored in your git repo) is not available on the Developer Portal for the user XXX@XXX.XXX Make sure to use the same user and team every time you run 'match' for this Git repository. This might be caused by revoking the certificate on the Dev Portal.

这是同一个用户和团队,我认为手动下载证书和密钥可以解决这个问题。

有什么想法吗?

错误是告诉你出了什么问题。您存储在证书存储库中的证书是被吊销的证书。上传你的新文件

解决此问题的最好和最简单的方法是再次使用 match nuke distribution 功能和 运行 match。这将确保从干净的盘子开始

好消息:您不需要使用 match nuke(这会使任何现有的 Testflight 构建无法下载。)

相反,您可以从匹配存储库中手动删除所有证书和配置文件(只需删除文件,提交并推送到 origin。)

下一次您的 运行 match,它将重新创建一组新的证书和配置文件(注意:如果您已达到允许的最大值,您可能必须撤销现有的分发证书数字,但这胜过撤销一切,这就是 match nuke 所做的。)

  1. 转到证书库并删除 /certs/development 和 /certs/distribution 下的证书文件。
  2. 提交并推送
  3. 运行 匹配,它将创建一个新证书