在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