[iOS 问题解决]The certificate used to sign "ShowMe_iOS" has either expired or has been revoked.

昨天做了一个操作
The certificate used to sign “ShowMe_iOS” has either expired or has been revoked. An updated certificate is required to sign and install the application.

通过有道翻译结果为
“签署“ShowMe_iOS”使用的证书过期或被撤销。需要一个更新的证书签署并安装应用程序。”

说我的证书已经revoked了,随后找到了解决办法

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

Then

Go to 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!

首先cmd + shift + k 先清理

然后打开xcode的偏好设置(Preference)

然后选择Account > Team > View Details

当loding结束后 选择 down all
这里写图片描述

下载完成后就可以使用了

now 现在运行你的工程吧

发布了47 篇原创文章 · 获赞 13 · 访问量 5万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章