1.
打开钥匙串,看看有过期的证书,删除,fix issue。
2.
In Xcode, go to Preferences --> Accounts --> View Details
Press the Download all button in the lower left corner
PS:
Sometimes it may also help to delete invalid provisioning profiles: right-click -> move to trash
I saw this error exactly one year after signing up as an Apple developer.
另外可以配合Code Signing 里面重新配置一下