kimimsc kimimsc - 4 months ago 25
iOS Question

The identity used to sign the executable is no longer valid (iOS 8+ / Xcode 7)

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).

I've already tried almost everything I've found on SO but nothing worked for me.

enter image description here

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.

I've re-generated the provisioning profiles after adding the share extension (and enabling the app groups in Target > Capabilities) and have downloaded them via Xcode.

Any ideas on why this could happen ?


So I finally managed to make it work though I'm not exactly sure which of the following had to be done.

  1. I deleted my Apple ID and all the provisioning profiles.
  2. Then I added the same Apple ID and downloaded the provisioning profiles (Xcode > Preferences... > Accounts)

From what I had read on SO it should have worked here, but in my case it wasn't.

So what I did was:

  • going to Window > Devices
  • then right click on my device on the left hand corner
  • and click on Show provisioning profiles...
  • I then deleted all the provisioning profiles I had on my phone

After doing what I said above it worked.

Hope this can be helpful.