> For the complete documentation index, see [llms.txt](https://docs.appmysite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmysite.com/app/download/build-failure.md).

# Build failure

### Why is my app build failing?

If your build is failing, your build is not working, or your download is not completing, it is usually due to a configuration issue.

Check the exact error message shown in the Download section and match it with the issue below.

#### Common build failure reasons

* Certificate mismatch (iOS)\
  The provisioning profile does not match the uploaded distribution certificate.

{% content-ref url="/pages/IqK3cxWXLggdoahp8qYV" %}
[Provisioning profile mismatch](/app/download/build-failure/provisioning-profile-mismatch.md)
{% endcontent-ref %}

* Notification profile mismatch (iOS)\
  The notification provisioning profile Bundle ID does not match the app.

{% content-ref url="/pages/k9rDcRUxbtMpDPh0A3oO" %}
[Notification profile mismatch](/app/download/build-failure/notification-profile-mismatch.md)
{% endcontent-ref %}

* Expired certificate (iOS)\
  The uploaded distribution certificate has expired.

{% content-ref url="/pages/lCGj4P5zCddTOIwE8rUe" %}
[Expired iOS certificate](/app/download/build-failure/expired-ios-certificate.md)
{% endcontent-ref %}

* Invalid Firebase configuration\
  Firebase settings, keys, or IDs are incorrect or incomplete.

{% content-ref url="/pages/MYrWBBHBhlS4ayFW5UQg" %}
[Invalid Firebase configuration](/app/download/build-failure/invalid-firebase-configuration.md)
{% endcontent-ref %}

* Invalid Firebase file\
  The uploaded Firebase configuration file is incorrect or does not match your app.

{% content-ref url="/pages/DXdarAOrC27WtmxlgnEj" %}
[Invalid Firebase File](/app/download/build-failure/invalid-firebase-file.md)
{% endcontent-ref %}

* Android build error\
  Unsupported special characters in the app name may cause the Android build to fail.

{% content-ref url="/pages/xYgB2GjTaiCQWHY9mhBi" %}
[Android build failure](/app/download/build-failure/android-build-failure.md)
{% endcontent-ref %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.appmysite.com/app/download/build-failure.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
