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

The certificate used to sign “Ap

作者: 上发条的树 | 来源:发表于2016-11-21 10:25 被阅读36次

    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,重启电脑)搜索到这个:
    http://stackoverflow.com/questions/37164314/the-certificate-used-to-sign-appname-has-either-expired-or-has-been-revoked-a
    说是解决办法是将项目源文件换个目录,可是又出现这个:

    A valid provisioning profile for this executable was not found.

    可是配置文件也没错。(已经重新配置并下载配置文件)

    而同一个工程,换个包名,使用其他开发者账号的证书和配置文件,运行到真机上,倒是没有问题。

    无奈,放弃最近的修改,从远程仓库clone一个下来,居然就可以了,真是醉了。

    总结:

    有可能是Xcode的bug...

    相关文章

      网友评论

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

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