一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

解决iOS开发证书"此证书的签发者无效"问题

时间:2016-02-18 编辑:简简单单 来源:一聚教程网

前言


哎,每次过完节都要有一个坑给自己跳。逃不过这个魔爪。

这不,一过完春节,回来就发现公司证书出现"此证书的签发者无效"。

iOS开发,开发证书

问题原因


经过一番查找,苹果官方给出了回答。

Thanks for bringing this to the attention of the community and apologies for the issues you’ve been having. This issue stems from having a copy of the expired WWDR Intermediate certificate in both your System and Login keychains. To resolve the issue, you should first download and install the new WWDR intermediate certificate (by double-clicking on the file). Next, in the Keychain Access application, select the System keychain. Make sure to select “Show Expired Certificates” in the View menu and then delete the expired version of the Apple Worldwide Developer Relations Certificate Authority Intermediate certificate (expired on February 14, 2016). Your certificates should now appear as valid in Keychain Access and be available to Xcode for submissions to the App Store.


看来是由于苹果系统的安全证书过期问题导致。

jUr2my .png

苹果早在一个多月前就提醒开发者使用新证书。开发者如果不及时更新,不仅会影响到自己的开发工作,还有可能对用户造成困扰。这一份通知面向的是那些开发应用与 Apple Wallet、Safari 推送中心又或者是 Safari 插件相关的开发者。苹果还在通知中表示,开发者需要在 2016 年 2 月 14 日结束之前更新他们的安全证书。更新之后,安全证书的下一个失效期为 2023 年 2 月。


解决办法

iOS开发,开发证书

既然知道了原因,那么就可以对症下药了。我们通过下载苹果提供的最新的 安全证书 并双击安装。

然后打开钥匙串,在导航栏上,依次选择 显示 - 显示已过期的证书

选择 登录 - 所有项目

在搜索栏下输入 apple w

删除对应过期的安全证书

iOS开发,开发证书

热门栏目