Expo app iOS discribution certificate expired - how do I assign a new one?

Viewed 674

Its been about a year since I first put my app in the iOS app store. I have recently got the following message appear in my inbox.

Your iOS Distribution Certificate will no longer be valid in 30 days

I have tried creating a new distribution certificate in expo-cli, which I have done successfully and now appears in my certificates section on Apple developer, however when I list them the certificates in expo-cli says underneath the new one

not used by any apps

How do I assign this new certificate with my old app? Or does it automatically switch when the old one runs out?

Any help would be appreciated, I would really like to keep my app active in the app store when the old cert runs out.

2 Answers

With expo-cli you can manage everything from the terminal

expo login
expo credentials:manager # or eas credentials
✔ Select platform › ios

And then select Update Distribution Certificate

? What do you want to do? › - Use arrow-keys. Return to submit.
    Use existing Push Notifications Key in current project
    Use existing Distribution Certificate in current project
    Remove Provisioning Profile
    Add new Push Notifications Key
    Remove Push Notification credentials
    Update Push Notifications Key
    Add new Distribution Certificate
    Remove Distribution Certificate
❯   Update Distribution Certificate

What I did last year is that I did a new build of the app via the Expo sdk and it prompted me to create a new certificate at that stage.

Related