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

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

遇到这个问题该怎么办?

  1. 打开“钥匙串访问”->我的证书:删除相关的证书
  2. 修改Code Signing -> Provisioning Profile为Automatic;Code Signing Identity为iOS Developer
  3. clean项目重启Xcode
  4. 真机运行,Fix即可

你可能感兴趣的:(The certificate used to sign "XXX" has either expired or has been revoked. An updated certificate is required to sign and install the application.)