The certificate used to sign "bundle id 名字" has either expired or has been revoked

在真机上运行时,弹出错误

错误提示:

The certificate used to sign "bundle id 名字" has either expired or has been revoked. An updated certificate is required to sign and install the application.

The certificate used to sign "bundle id 名字" has either expired or has been revoked_第1张图片

本来之前打包时一直报错,不能使用通配符bundle id,因此我重新revoke了一下证书,真机运行时报这个错误,我觉得不是证书的问题。我先按照如下办法

1.打开钥匙串访问

2.选择我的证书,删除过期的证书

3.真机运行,遇到提示,点击Fix

发现还是报这个错误,因此我重新下载了一下Provisioning Profiles文件,但是然并卵,最后找到preferences中的app账号,将其证书reset一下解决了这个问题。


你可能感兴趣的:(The certificate used to sign "bundle id 名字" has either expired or has been revoked)