Search code examples
xcodecertificateprovisioning

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?


Solution

  • 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.