> For the complete documentation index, see [llms.txt](https://help.adalo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.adalo.com/publishing-apps/publishing-to-the-apple-app-store/submit-your-build-to-the-app-store/build-error-distribution-certificate-has-expired.md).

# Build Error: Distribution certificate has expired

Although not common, you may have an iOS build fail if your Development or Distribution certificates have expired. These certificates have expiration dates and will need to be revoked if they are out of date.

#### Possible Cause:

1. **Your Distribution Certificate has expired.**
2. **Your Development Certificate has expired**

#### Resolution:

Remove **all but one** of these certificates in order for Adalo to be able to create a new one when uploading this app to TestFlight (there can be a maximum of 2).<br>

To do this, please follow these steps:

1. Go to your [iOS Developer Account](https://developer.apple.com/account/ios/profile/profileList.action?type=production)
2. Click on **Production** under the **Certificates** menu.
3. Click on the **iOS Distribution** certificate that is about to expire.
4. Click **Revoke.**
5. Click **Revoke** to confirm that you want to revoke the certificate.
6. Go back to Adalo and create a new build for your iOS app. This will generate a fresh certificate.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.adalo.com/publishing-apps/publishing-to-the-apple-app-store/submit-your-build-to-the-app-store/build-error-distribution-certificate-has-expired.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
