Xcode运行报错The certificate used to

2022-07-01  本文已影响0人  anny_4243

Xcode运行之后报了如下错误:

Unable to install "XXX"

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

翻译:
无法安装“XXX”

用于签署“XXX”的证书已过期或已被吊销。签署和安装应用程序需要更新的证书。

报错原因:
你的证书被删除了,所以需要重新下载一下

解决办法:
1.打开文件夹~/Library/MobileDevice/Provisioning Profiles,清空目录中的文件
2.重新运行项目,如果还报错取消勾选证书后再重新勾选运行

上一篇 下一篇

猜你喜欢

热点阅读