关于苹果开发证书失效的解决方案(2016年2月14日Failed to locate or generate matching signing assets)

感谢原作者:http://blog.csdn.net/mr_lp/article/details/50673092

前言:

从2月14日开始,上传程序的同学可能会遇到提示上传失败的提示.

并且打开自己的钥匙串,发现所有的证书全部都显示此证书签发者无效.

Failed to locate or generate matching signing assets
Xcode attempted to locate or generate matching signing assets and failed to do so because of the following issues.
Missing iOS Distribution signing identity for ... Xcode can request one for you.


原因 & 解决方法:

原因是我们之前上传程序,都需要提前设置证书,而设置证书会涉及到从证书颁发机构申请证书.

参见我之前文章: http://blog.csdn.net/mr_lp/article/details/49784191



而失效的就是这个证书的签发者.


这时候我们前往我们的钥匙串,选择上方的  显示 --> 显示已过期证书


就会发现下面多出来了一个证书.

   特别注意:有的在系统那一栏也有这个过期的“WWDR Certificate”,也一并删除它,没有就不作处理。

之后选择删除它,前往

https://developer.apple.com/certificationauthority/AppleWWDRCA.cer

去从新下载一个证书.


双击运行后即可,然而有的同学可能添加不成功.

那是因为你没有进行证书的权限设置.


添加成功后,就可以看见之前的证书全部有效了.



后记:

对此苹果官方的解释:

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.


简单点说就是,你颁发开发者证书的根证书失效了,因为他会在2016年2月14日到期.

你之前以此制作的证书才会全部失效.


最后附上StackOverFlow 的相关连接:

http://stackoverflow.com/questions/32821189/xcode-7-error-missing-ios-distribution-signing-identity-for
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值