美文网首页
The certificate used to sign “ap

The certificate used to sign “ap

作者: NapoleonY | 来源:发表于2019-07-15 09:21 被阅读0次

概述

今天真机调试时,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.

分析

提示中说的很清楚,是证书除了问题,需要更新证书

解决

  1. Xcode-Product-Clean Build Folder 清理下工程
  2. 打开 “钥匙串访问”,其中左侧“种类”选择“证书”,找到当前 Xcode 登录的那个账号,此时应该显示已经过期了,将该证书删除
  3. 在 Xcode-Preference-Accounts 中在对应账号下点击 "Download Manual Profiles" 重新下载证书即可

参考

  1. Certificate has either expired or has been revoked

相关文章

网友评论

      本文标题:The certificate used to sign “ap

      本文链接:https://www.haomeiwen.com/subject/edrgkctx.html