The identity used to sign the executable is no longer valid (iOS 8+ / Xcode 7)
Solution 1
So I finally managed to make it work though I'm not exactly sure which of the following had to be done.
- I deleted my Apple ID and all the provisioning profiles.
- 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...
- Accounts
- Select your apple account
- Remove that account (-)
- Add again your apple account (+)
- Restart Xcode
- Run yor app!
Comments
-
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.
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 ?