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

10,011

Solution 1

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.

Solution 2

Xcode: Preferences...

  1. Accounts
  2. Select your apple account
  3. Remove that account (-)
  4. Add again your apple account (+)
  5. Restart Xcode
  6. Run yor app!
Share:
10,011
Moumou
Author by

Moumou

...

Updated on June 04, 2022

Comments

  • Moumou
    Moumou almost 2 years

    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 ?