2

I am using Xcode 7 beta 6 on Yosemite, but I have encounter the problem

The identity used to sign the executable is no longer valid.

Error when I am trying to build my app on my iPhone. The detailed information is:

Please verify that your device’s clock is properly set, and that your signing certificate is not expired. (0xE8008018).

So I can't debug in my iPhone device now.

Anyone has any idea for this?

Mutawe
  • 6,464
  • 3
  • 47
  • 90

3 Answers3

2

This is due to changes in the provisioning file not present on your machine.

Quick fix (Xcode 7 iOS9):

Xcode -> Preferences -> Account -> Select Apple ID -> View Details -> Download All

now try to run the code.

Note: if still the problem persists, follow step mentioned above for every Apple ID and try to run again.

HadiRj
  • 1,015
  • 3
  • 21
  • 41
Aadi007
  • 247
  • 2
  • 5
0

Just make a new certificate and regenerate the provisioning profile - and everything will be ok.

Miroslav
  • 546
  • 2
  • 9
  • 22
0

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

ylgwhyh
  • 1,588
  • 18
  • 21