钥匙串证书失效的问题

今天将应用上传AppStore,出以下错误提示:

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.

原因是Apple World Wide Developer Relations Certificate Authority的过期时间是2016年2月14

Apple官方原文如下:

在钥匙串中查看证书过期了

解决方案:

1、打开钥匙串,登录和系统中删除过期的 Apple World Wide Developer Relation Certification Authority

2、下载AppleWWDRCA.cer证书

3、把系统钥匙串的设置权限打开

4、双击AppleWWDRCA.cer

设置成功后发现钥匙串里的证书可以使用了

原文地址:https://www.cnblogs.com/guatiantian/p/5218041.html