Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem when deploy to real device: The identity used to sign the executable is no longer valid [closed]

How to solve this problem, please help: alt text

More detail, please view this image: detail image

like image 574
hungbm06 Avatar asked Jan 29 '10 12:01

hungbm06


2 Answers

It appears that your certificate has expired, assuming your clock is correctly set on your machine. Open the keychain access application and view the details of the certificate you generated on the developer portal. If the certificate is expired, then you need to create a new one from the portal, download and install it on your machine. Then, you will need to modify in your project settings the identity signing the code to reflect your new certificate.

like image 122
Massimo Cafaro Avatar answered Oct 07 '22 17:10

Massimo Cafaro


I tried a few things, including restarting (both the iPhone, and Xcode), but here's a few things that you can do if you're having this problem:

  • Go to Keychain Access, find your developer profile, delete them and re download it from Developer Member Centre.
  • In Xcode, go to Preferences -> Accounts and remove your Apple ID, and add it back.
  • In my case, doing the above will trigger Xcode to create me a new certificate. I just did that and it worked.
like image 7
Enrico Susatyo Avatar answered Oct 07 '22 17:10

Enrico Susatyo