title: The identity used to sign the executable is no longer valid (iOS 8+ / Xcode 7)
body: <blockquote>
  <p>The identity used to sign the executable is no longer valid.</p>
  <p>Please verify that your device’s clock is properly set, and that your signing certificate is not expired. (0xE8008018).</p>
  </blockquote>
  <p>I've already tried almost everything I've found on SO but nothing worked for me.</p>
  <p><a href="https://i.stack.imgur.com/uIDd7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uIDd7.png" alt="enter image description here" /></a></p>
  <p>I'm not sure when it started to happen, I think it was just after I tried to add a share extension to my app.</p>
  <p>I've re-generated the provisioning profiles after adding the share extension (and enabling the app groups in <strong>Target &gt; Capabilities</strong>) and have downloaded them via Xcode.</p>
  <p>Any ideas on why this could happen ?</p>