过完年一回来,看见钥匙串里面的证书全都无效了,显示“此证书的签发者无效”,求此时心理阴影面积。
附上图:
苹果官方给出以下回答:
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.
看过之后,是由于苹果系统的安全证书过期问题导致。打开钥匙串,点击左上角的“显示”,然后点击“显示已过期的证书”,然后查找,附上图:
下面的有效的证书是我后来导入的。
证书下载链接:点击打开链接,并且安装。就会出现上面图中显示的情况。
将过期的两个都删除。注:删除一个是不好使的。
然后退出钥匙串,再打开。
此时,心情立马舒畅了...