此证书的颁发者无效 Apple Push Services [英] This certificate has an invalid issuer Apple Push Services

查看:28
本文介绍了此证书的颁发者无效 Apple Push Services的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了证书以在我的应用程序中启用推送服务,但是每次我尝试在我的钥匙串中添加证书时,添加证书后都会显示以下错误:

I have created certificate to enable Push Services in my app, but every time I try to add certificate in my Keychain, after adding certificate it shows me following error:

此证书的颁发者无效

推荐答案

我想我已经想通了.我导入了 2023 年到期的新 WWDR 证书,但我仍然遇到构建问题,我的开发人员证书仍然存在显示无效的发行人错误.

I think I've figured this one out. I imported the new WWDR Certificate that expires in 2023, but I was still getting problems building and my developer certificates were still showing the invalid issuer error.

  • 在钥匙串访问中,转到查看 -> 显示过期证书.然后在您的登录钥匙串中突出显示过期的 WWDR 证书并将其删除.
  • 我的系统钥匙串中也有相同的过期证书,所以我也从那里删除了它(很重要).
  • In keychain access, go to View -> Show Expired Certificates. Then in your login keychain highlight the expired WWDR Certificate and delete it.
  • I also had the same expired certificate in my System keychain, so I deleted it from there too (important).

从登录名和系统钥匙串中删除过期的证书后,我能够再次构建分发.

After deleting the expired certificate from the login and System keychains, I was able to build for Distribution again.

这篇关于此证书的颁发者无效 Apple Push Services的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆