16
**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.

I've met this error when build my app on iphone by Xcode device for 2 days. It had worked properly before. But only when build on that iphone, the other ios devices is normal, hic. can you help me :(

Let's Bi
  • 269
  • 1
  • 2
  • 12

4 Answers4

2

You can try to delete the certificates from keychain, restart Xcode and try to download them (Xcode-Preferences-Accounts-View Details) and click on "Download All".

If this doesn't work open Xcode accounts (Xcode-Preferences-Accounts-View Details) and right click on the certificates and delete them. Check in the member center if someone is INACTIVE or EXPIRED and solve that issue.

The certificates that you manage from the member center are still present even if you delete them from Xcode. Xcode will download all the certificates of the member center. I had several issues with these certificates, most of the time these operations solved my problems. Hope it also for you.

Cris
  • 55
  • 1
  • 6
0

It can happen after you renewed your iOS program, even if certificates and provisioning files are not expired yet.

Just edit the provisioning file and re-select the matched certificate. The certificate you checked for sure before could be unchecked.

alones
  • 2,848
  • 2
  • 27
  • 30
0

Usually it enough to force XCode to re-download the certificates. Under XCode -> Preferences... -> Accounts -> your apple id -> View Details, press the reload button in the bottom-left corner.

fishinear
  • 6,101
  • 3
  • 36
  • 84
0

I needed to remove my cert from keychain, then xcode suggested 'fix issue' and everything started working.

bazik
  • 609
  • 3
  • 18