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

把描述文件全删了,重新下载一份,清一下项目,go

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

http://stackoverflow.com/questions/36689116/certificate-has-either-expired-or-has-been-revoked

First of all clean the project by holding Shift(⇧)+Command(⌘)+K or Select Product > Clean

Then

Goto XCode Menu> Preference

Select Account > Team > View Details

Select any Provisioning profile from Provisioning Profiles list

Right click > Select Show in Finder. Then you will see all lists of provisioning profiles

Select all provisionaling list from the folder and move it to trash

Download All provisioning profiles by clicking Download All below Provisioning Profile lists.

Now, Run again and it should Work!

你可能感兴趣的:(The certificate used to sign “XXX” has either expired or has been revoked.)