iOS真机调试问题The certificate has either expired or has been revoked

当使用免费真机调试时,会经常弹出

The certificate used to sign “yoursApp” has either expired or has been revoked

有时胡乱修改一遍Bundle ID再fix是可以通过的,但最根本的解决办法是:

1、打开Xcode点击Xcode->Preferences->Accounts

2、找到自己的账号,点击 “View Details”

3、然后中Provisioning Profiles中右键点击任意一个,选择show in finder在文件夹中打开,可以看到所有证书,将他们全部删除

4、最后选择Download All

然后重新运行,问题解决了

你可能感兴趣的:(iOS真机调试问题The certificate has either expired or has been revoked)