Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode apple developer certificate expiration: (0xE8008018)

Just for the record: I had a stranger response from Xcode when I tried to run my app on my device.

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

My certificate expires today at midnight AND my several provisioning profiles need a serious cleaning.

What is the administrative process to get it all renewed to get a build AND run working?

like image 459
Jan ATAC Avatar asked Mar 31 '15 15:03

Jan ATAC


People also ask

What happens when Apple Developer certificate expires?

If your certificate expires, passes that are already installed on users' devices will continue to function normally. However, you'll no longer be able to sign new passes or send updates to existing passes. If your certificate is revoked, your passes will no longer function properly.

How do I renew my expired Apple Developer certificate?

Click Apple Push Certificates portal. In the new tab, sign in to the Apple portal with the Apple ID and password you used when you created the certificate. Next to the certificate you want to renew, click Renew and accept the terms of use.

How long do Apple Developer certificates last?

Apple Developer Enterprise Program certificates expire after three years and provisioning profiles expire after one year. Before a distribution certificate expires, create an additional distribution certificate, described in Creating Additional Enterprise Distribution Certificates.

How do I renew my Mac Developer certificate?

In the Keychain Access menu, select Certificate Assistant > Request a Certificate from a Certificate Authority. Enter a valid email address and your name and choose Saved to disk from the options. Click Continue and save the Certificate Signing Request (CSR) file to your Mac.


2 Answers

You need to :

  1. Connect to Apple Developer Member Center
  2. Click on 'Certificates, Identifiers & Profiles'
  3. iOS Apps must not have an expiration date notification or else renew it, and come back here
  4. Click on 'Provisioning profiles'
  5. If no one has 'active' status, that is the problem
  6. Add one for 'iOS App Development'
  7. Choose the right 'App ID' : your BundleID, or wildcard
  8. The next screen should show you valid certificates. If not, go create one (click on 'Certificates' item on the left menu) and come back here
  9. Choose one certificate
  10. Then you see all the devices you declared in 'Devices', select those on which you want to run your app
  11. Give a profile name and generate it
  12. You will download a file named : [profile name].mobileprovision
  13. Double-click to install it
  14. At this step, my problem was solved. Build and run on my phone is ok.
like image 108
Jan ATAC Avatar answered Oct 12 '22 18:10

Jan ATAC


I had the same exact thing only... all my profiles, certificates and everything were up-to-date in the Dev portal. What fixed it for me was under the General tab of my app's target, changing the 'Team' dropdown to none... and then back to my company. Forced Xcode to re-request whatever it thought it needed from the Dev Portal.

Back in business... :-)

like image 28
Drew Avatar answered Oct 12 '22 20:10

Drew