昨天做了一個操作
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 現在運行你的工程吧