The identity used to sign the executable is no longer valid

问题描述

公司一个账号,然后在多台设备使用。

The identity used to sign the executable is no longer valid.

Please verify that your device’s clock is properly set, and that your signing certificate is not expired. (0xE8008018).

Preferences –> Accounts –> View Details
Reset和Download all 都使过,不管用。

包括按照参考资料2.http://pinkstone.co.uk/how-to-fix-the-identity-used-to-sign-the-executable-is-no-longer-valid-error-in-xcode/也无果。

###最终解决姿势

还是简单粗暴的从Xcode移除Apple id,然后重新登录就好了。

原话:Remove your apple id from Xcode preference and add it back again. Clean, rebuild and make sure coding signing is correct in project settings. That works for me.

####参考资料:

1.http://stackoverflow.com/questions/31717492/the-identity-used-to-sign-the-executable-is-no-longer-valid-at-xcode

2.http://pinkstone.co.uk/how-to-fix-the-identity-used-to-sign-the-executable-is-no-longer-valid-error-in-xcode/