“ iPhone分发”证书不受信任

问题描述

我刚刚安装了一个新的iPhone分发证书,该证书已从其他人的计算机导出为.p12。

当我尝试使用与此新证书绑定的配置文件进行存档时,出现此无效信任设置错误:

enter image description here

恢复证书“ iPhone Distribution”的系统默认信任设置,以便使用它签名代码。

但是,当我修复信任设置(将证书的信任设置设置为“使用系统默认值”)时,它表示证书不受信任:

enter image description here

iPhone分发证书不受信任

如果我尝试在这种状态下存档,则会出现此错误:

警告:无法为签名者“ iPhone发行版”建立到自签名根的链

我陷入了无限循环。请帮忙!

解决方法

Apple证书的信任是通过Apple Worldwide Developer Relations证书颁发机构证书提供的。听起来您好像没有一个。看起来像这样:

enter image description here

如果您没有这些,请从Apple Developer Member Center获得。即使您有一个,也尝试下载较新的一个。

,

我拥有苹果全球开发者关系认证中心(Apple Worldwide Developer Relations Certification Authority)证书,该证书将于2023年2月7日下午3:48:47失效。

我安装了将于2030年2月19日下午6:00:00到期的产品时,我的问题已解决。

您可以在此处下载其中之一:https://developer.apple.com/account/resources/certificates/add

,

在下载 Apple Worldwide Developer Relations Certification Authority 证书 2030 后运气不佳,对我有用的是进入系统钥匙串并搜索有问题的证书(类似于 5CTYZUT475)我将 always trust 更改为 use system defaults

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...