The certificate used to sign "XXX" has either expired or has been revoked. An updated certificate is required to sign and install the application.
遇到这个问题该怎么办?
- 打开“钥匙串访问”->我的证书:删除相关的证书
- 修改Code Signing -> Provisioning Profile为Automatic;Code Signing Identity为iOS Developer
- clean项目重启Xcode
- 真机运行,Fix即可