美文网首页IOS
Xcode 运行报错“The certificate used

Xcode 运行报错“The certificate used

作者: Linda_smile | 来源:发表于2020-04-02 14:15 被阅读0次

    重新生成证书之后,Xcode 运行报错“The certificate used to sign “项目名称” has either expired or has been revoked. An updated certificate is required to sign and install the application.

    大致意思是“用于签署“ 项目名称”的证书已过期或已被吊销。 需要更新的证书才能签名和安装该应用程序。”

    其实已经在钥匙串添加了新的证书,为什么还报这个错误呢?

    解决:

    1.选择 Xcode-Preferences,或者“command+,”快捷键打开菜单,选择菜单中的account,选择项目使用的appleID,选择Team下的证书,选择Manage Certificates 按钮

    2.如图,添加这两项,会自动生成本机的证书。

    3.重新运行,已解决。亲测有效。

    相关文章

      网友评论

        本文标题:Xcode 运行报错“The certificate used

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