iOS开发证书"此证书的签发者无效"解决方法

Xcode7近期出现了一个新的签名报错,在ipa打包时有如下提示:

21030236_u3PP.png

主要是说 Missing iOS Development signing identity,意思是缺少了签名。

根据这个提示,我马上查看了Keychain中的签名,还真的是有问题的

21030236_NGny.png

然而签名并未过期,签名签发者也是正常的,到底应该怎么解决呢?

好,接下来直接说一下解决方法:重新安装AppleWWDRCA签名

重新安装AppleWWDRCA签名的方法,步骤如下:

  1. 打开keychain

  2. 由于keychain默认隐藏失效证书,可以在菜单选择 显示 -> 显示失效证书

  3. 登录和系统模块分别找到相同的两个AppleWWDRCA签名,

    21030236_o6Qa.png

    签名全称是Apple Worldwide Developer Relations Certification Autority

    21030236_ndfN.png

  4. 删除这两个失效的签名,注意两个都要删除!

  5. 下载新的证书,AppleWWDRCA.cer

  6. 安装新的AppleWWDRCA证书

按照步骤依次操作后,即可解决问题!

转载:http://www.jianshu.com/p/70a75e3e53fd

另外一篇介绍

证书签发者无效

问题原因

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

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.

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

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

解决办法

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

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

  2. 选择登录-所有项目

  3. 在搜索栏下输入 apple w

  4. 删除对应过期的安全证书

流程


转载:https://yq.aliyun.com/articles/5587?utm_source=tuicool&utm_medium=referral

搜索栏下输入 apple w若没找到安全证书

经查找得知系统证书WWDR在2016年2月14日失效,需要更新WWDR系统证书

下载证书地址https://developer.apple.com/certificationauthority/AppleWWDRCA.cer 下载之后 双击安装

到这  还需要一步 

在登陆里面删除过期的证书 在系统里面 删除过期的证书 就可以完美的解决了。所有的证书 都可以使用了

转载:http://blog.csdn.net/manmanking/article/details/50668526

转载于:https://my.oschina.net/u/1260221/blog/644241

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值