Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 449
Moumou Avatar asked Mar 14 '23 15:03

Moumou


2 Answers

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.

like image 123
Moumou Avatar answered Apr 07 '23 12:04

Moumou


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!
like image 32
ylgwhyh Avatar answered Apr 07 '23 13:04

ylgwhyh