error occurs on build:ios

It seems that you have accidentally deleted the Distribution Certificate from Apple Developer.

I get an error when I run expo build: ios.
What should I do?

> expo diagnostics
Expo CLI 3.13.1 environment info:
  System:
    OS: Windows 10
  Binaries:
    npm: 6.13.7 - C:\Program Files\nodejs\npm.CMD
> expo build:ios
Checking if there is a build in progress...

Please enter your Apple Developer Program account credentials. These credentials are needed to manage certificates,
keys and provisioning profiles in your Apple Developer account.
The password is only used to authenticate with Apple and never stored.
? Apple ID: my@domain
? Password (for my@domain): [hidden]
Trying to authenticate with Apple Developer Portal...
Authenticated with Apple Developer Portal successfully!
You have 5 teams associated with your account
? Which team would you like to use? 4) 9X6Mxxxxxx "Company" (Company/Organization)
We are missing the following credentials from you: Apple Distribution Certificate, Apple Push Notifications service key, Apple Provisioning Profile
? How would you like to upload your credentials? Expo handles all credentials, you can still provide overrides
? Will you provide your own Apple Distribution Certificate? Let Expo handle the process
√ Didn't find any previously uploaded Apple Distribution Certificate
? Will you provide your own Apple Push Notifications service key? Let Expo handle the process
√ Didn't find any previously uploaded Apple Push Notifications service key
√ App ID found on Apple Developer Portal.
We're going to generate:
- Apple Distribution Certificate
- Apple Push Notifications service key
- Apple Provisioning Profile
× Failed to generate Apple Distribution Certificate

You can have only three Apple Distribution Certificates generated on your Apple Developer account.
Please revoke the old ones or reuse existing from your other apps.
Please remember that Apple Distribution Certificates are not application specific!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.