The certificate used to sign "xxx" has either expired or has been revoked

如上两图,打开钥匙串,在密钥和证书上,删除带Developer的项目,

在你的xcode项目中选Product->Clean

重启Xcode项目,再发布就OK了