上班的第一天,发现电脑上的证书都提示:“此证书的签发者无效”而且企业版打包是会出现错误,但是又不敢都删了,尤其是企业证书不干删了,怕之前的应用不能用,求大神看看这是怎么回事!
贴上报错信息
“missing ios distribution signing identity for XXX interactive marketing planning co ltd”或“wildcard APP IDS can not be used to create in house provisioning profiles please use an explicit app id”
贴上相关截图
解决办法:
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.
(这个问题源于拥有一份过期WWDR中级证书在你的系统和登录钥匙。为了解决这个问题,你应该首先下载并安装新的WWDR中级证书(通过双击文件)。接下来,在钥匙链访问应用程序,选择系统钥匙链。确保在视图菜单选择“显示过期证书”,然后删除过期版本的苹果全球开发者关系证书颁发机构中级证书(2016年2月14日到期)。你的证书现在应该出现在钥匙链有效访问和可用Xcode提交应用程序商店。)
步骤:
1,按照这个链接下载,https://developer.apple.com/certificationauthority/AppleWWDRCA.cer,并安装。
2, 在keychains(钥匙串)里选择login(登录),然后点选Certificates(证书),在这个界面,选择工具栏的View(显示) -> Show Expired Certificates(显示已过期证书),这时候你会发现一个过期的“WWDR Certificate”(Apple Worldwide Developer Relations Certification Authority),删除它。
3, 在System(系统)的那一栏也有这个过期的“WWDR Certificate”,一并删除它。
4 ,不出意外你的证书那里从 “This certificate has an invalid issuer”(此证书的签发者无效)变成了 “This certificate is valid”了。
原文链接:https://segmentfault.com/q/1010000004433963