> 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-you-have-reached-the-maximum-number-of-certificates.md).

# Build Error: You have reached the maximum number of certificates

Although not common, you may have an iOS build fail if you have too many Development or Distribution certificates. Each Apple Developer Account requires only one Development and one Distribution certificate to build all your apps. If you have other apps dependent on your iOS certificates (even if non-Adalo) they will not be interrupted by revoking any unnecessary certificates, as long as the certificates are generated again by Adalo.

#### Possible Cause:

1. **You have more than two Development or two Distribution Certificates in your Apple Developer Account:** This will prevent us from creating a new one if we are unable to use the ones that exist on the account.

#### Resolution:

Remove **all but one** of these certificates in order for Adalo to be able to create **one** so that we are able to upload 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-you-have-reached-the-maximum-number-of-certificates.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.
