(0xE8008018): the identifier used to sign the executable is no longer valid

I am trying to debug my Xcode application and I get the following error:

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

enter image description here

Now I know that there are many questions on this problem, and I tried all possible ways to solve it , that I tried so far (did not work) :

  • Some suggested restarting Xcode.
  • Account update.
  • Removing all certificates from the key chain.
  • Cancel all certificates from the member center.
  • Manual installation of certificates.
  • Checked the clock of my devices (obviously)
  • Removed Xcode (unevenly) and reinstalled it.
  • Checking my project. Create a configuration and ensure that a developer account is selected.
  • Checked my account expiration date (updated 5 days ago)
  • Checked if I have to accept some Terms and Conditions (none)
  • Disable devices that I have in my member profile
  • Tested on multiple iPhones (same result)
  • Checked git tag / branch, which is stable (I thought the project could be corrupted also not comparable)

My concern is that this may be a temporary apple problem or a bug in Xcode, although it was hours ago on my iMac, when I switched to the MacBook Pro, I had this problem (and I always do this with no problems at all).

Launch:

  • OSX Yosemite 10.10.4 (14E46)
  • Xcode 6.4
+44
ios xcode
Jul 17 '15 at 21:08
source share
11 answers

After several hours of research, the script shell for signing the project at some point did not work without reporting it to Xcode.

I noticed that in the DerivedData folder (found in /Users/yourUsername/Library/Developer/Xcode/DerivedData/ ) Xcode there were two folders with the same name of my project, ending with a different hash, for example:

 ProjectName--dcakkvkdhqvxstehdiuzwbpsmdal ProjectName--kurbctkdhqvxuytrwnczwbpsmdal 

I closed Xcode and made sure to delete both folders , somehow Xcode generated two different folders for the project at some point, restarting Xcode after deleting the folders, fixed it.

+27
Jul 17 '15 at 10:29
source share
β€” -

Trying to remove and re-add your apple id, it works for me.

  • xcode: Settings ...
  • Accounts
  • Choose your Apple Account
  • Remove it (-)
  • Add your Apple account again (+)
  • Launch the yor app!
+68
Sep 28 '15 at 16:13
source share

I experienced the same situation.

But it was cleaned up by deleting and loading the preparation profiles on my mac.

Location of training profiles:

/Users/yourUsername/Library/MobileDevice/Provisioning Profiles/

+24
Oct 31 '15 at 1:02
source share

I had the same problem. What helped me:

  • The profile is set incorrectly (another project)
  • Run the project and get a pop-up window with information that the provision profile is not true, and the proposal Fix the problem
  • Click Fix Problem
+4
Nov 11 '15 at 15:09
source share

Just log in to your developer account and create a new developer certificate or cancel the old one, create a new one. This will solve the problem.

+1
Nov 06 '15 at 10:19
source share

A solution that may help some people

  • Go to developer.apple.com
  • go to the identifiers / certificates page
  • then click Provisioning Profiles. If you find some wrong
  • profiles just edit them
  • Be sure to check your main profile.
  • Click the generate and close button.
  • Now in Xcode, delete your profile. Add it again.
  • You can go

This will happen if you change your primary email address.

+1
Nov 30 '15 at 22:38
source share

Delete files and folders from:

  • ~ / Library / MobileDevice / Provisioning Profiles /
  • ~ / Library / Developer / Xcode / DerivedData /
0
Feb 01 '16 at 23:03
source share

The only solution to this problem is to delete the folder from

 ~/Library/Developer/Xcode/DerivedData/YourAppName- 

Thus, everything will return to normal!

Greetings!

0
Feb 19 '16 at 20:19
source share

All the answers helped a lot, but in my case, the developer certificate expired, that I received this error when creating the application.

Keychain -> Login -> My Certificates

So I just deleted the certificate and created a new one that worked fine for me.

0
Apr 05 '16 at 10:22
source share

None of this worked for me

vomako answer at The identifier used to sign the executable file is no longer valid. DID works -

i.e. "Solution in Xcode:

In Xcode, go to Settings β†’ Accounts β†’ View Details

Click the refresh button in the lower left corner (the so-called "Download all in Xcode 7")

end of his message

Now it updates the symbol a bit (circular arrow). Then click the "Request" button.

Hope this helps someone for a while

0
May 18 '16 at 19:36
source share

I solved the same problem. Only from https://developer.apple.com/account/ios/profile/production/create "were new Provisioning Profiles created. Then download and install new Provisioning Profiles (Development and Distribution). enter image description here

0
Jun 04 '16 at 9:28
source share



All Articles