在Xcode中忽然很久沒有使用真機調試了。今天使用真機的時候。出現例如如下的警告。並真機執行失敗:ide
The identity used to sign the executable is no longer valid.
post
Please verify that your device's clock is proprtly set,and that your signing certificate is not expired.(0xE8008018).調試
.
code
事實上這個問題很是easy,Xcode是告訴你的身份認證已經失效了,需要你又一次進行簽名認證。解決方式也很是easy:it
選擇Xcode->Preferences->Accounts,旁邊應該就有一個紅色的感嘆號。Xcode提示你需要又一次輸入Apple ID和password。你又一次輸入驗證就能夠。而後就可以真機調試了。table