The identity used to sign the executable is no longer valid
Try restarting XCode. It worked for me.
(0xE8008018): The identity used to sign the executable is no longer valid
After hours of investigating, the shell script for signing the project was failing at some point, without reporting back to Xcode.
I noticed that in the DerivedData folder (found in /Users/yourUsername/Library/Developer/Xcode/DerivedData/
) of 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 the deletion of the folders fixed this.
The identity used to sign the executable is no longer valid (iOS 8+ / Xcode 7)
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.
The identity used to sign the executable is no longer valid
Try restarting XCode. It worked for me.
Related Topics
How to Make Both Header and Footer in Collection View with Swift
Getting Video Snapshot for Thumbnail
How to Subclass Uitableviewcontroller in Swift
Pod Error in Xcode "Id: Framework Not Found Pods"
How to Trap the Back Button Event
Slservicetypefacebook Setinitialtext Is Not Working
Mapkit iOS 9 Detailcalloutaccessoryview Usage
Using Collectionview in Uiview with Xib File
How to Find the Purple Port for the Front Most Application in iOS 5 and Above
Can't Find Pods.Modulemap - Looking in Wrong Directory
Xcode 4.2 Jumps to Main.M Every Time After Stopping Simulator
Connect to Vpn Programmatically in iOS 8
Uitextview Link Tap Recognition Is Delayed
Uiviewcontroller Prevent View from Unloading
How to Draw a Line in Sprite-Kit
Swift "Bridging-Header.H" File Not Allowing Me to Instantiate Objective-C Classes in .Swift Files