The certificate used to sign “ap
2019-07-15 本文已影响0人
NapoleonY
概述
今天真机调试时,Xcode 突然提示
The certificate used to sign “appName” has either expired or has been revoked. An updated certificate is required to sign and install the application.
分析
提示中说的很清楚,是证书除了问题,需要更新证书
解决
- Xcode-Product-Clean Build Folder 清理下工程
- 打开 “钥匙串访问”,其中左侧“种类”选择“证书”,找到当前 Xcode 登录的那个账号,此时应该显示已经过期了,将该证书删除
- 在 Xcode-Preference-Accounts 中在对应账号下点击 "Download Manual Profiles" 重新下载证书即可