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

Xcode 7.2真机运行出现的问题:

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)

解决办法:

  1. 先把xcodel -> preference -> profile文件删了
  2. 去钥匙串把Iphone证书删了
  3. 再到1上重新download profile就行了
github: https://github.com/ios-study 简书地址:https://www.jianshu.com/u/9d0a57d9905c
原文地址:https://www.cnblogs.com/xuhuizhan520/p/5218646.html