从2月14号开始,上传AppStore时可能会碰到这个问题:
Missing iOS Distribution signing identity for … Xcode can request one for you.
截图如下:
原因是Apple World Wide Developer Relations Certificate Authority的过期时间是2016年2月14。苹果的回答如下:
简单的说就是颁发开发者证书的根证书过期了。如果这个时候你打开keychain看你的发布证书会是这样的:
就是这个Apple World Wide Developer Relations Certificate Authority过期了,所以这个颁发的证书都不能使用了。
现在来说下解决方案:
1.打开keychain(钥匙串),在登录和系统中的“我的证书”和“证书”找到过期的 Apple World Wide Developer Relation Certification Authority和你的无效证书,然后删除它(一定要全部删除干净)
注意在keychain显示菜单下,设置成显示过期证书;
2.下载这个链接里的AppleWWDRCA.cer的证书到本地
3.记得要把系统钥匙串的设置权限打开
4.把AppleWWDRCA.cer安装到登录和系统中
设置成功后就可以了。查看下你的发布证书是否已经正常了。
(注意,有的电脑只需要将AppleWWDRCA.cer安装到系统即可,但有的电脑必须也要安装到登录才好使)
相关链接:
中文:
http://www.jianshu.com/p/cda1790ea317?utm_campaign=hugo&utm_medium=reader_share&utm_content=note&utm_source=weixin-timeline&from=timeline&isappinstalled=0