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

# Step 1 – Create a build archive

You need to create a build archive in order to upload your build to App Store Connect. The current build is a debug build for building, debugging, and testing. When you are ready to publish your app on the App Store or TestFlight.

In the **Editor area**, select the motorReactApp project.

![](https://support.stylemixthemes.com/storage/stm-manuals/April2020/app66.png)

Next, choose a project target from the **Scheme toolbar** menu.

![](https://support.stylemixthemes.com/storage/stm-manuals/April2020/app67.png)

Select the **Generic iOS Device** option from the list.

![](https://support.stylemixthemes.com/storage/stm-manuals/April2020/app68.png)

Finally, create a build archive by selecting **Product > Archive** from the Menu bar.

<figure><img src="https://649870283-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDPXy_4le1iZ83O009c%2Fuploads%2FWGcbADGXZu7a5zQv9u42%2F%D0%A0%D0%B8%D1%81%D1%83%D0%BD%D0%BE%D0%BA62.png?alt=media&amp;token=6b1fe5a0-5b43-4cfe-9aea-16edb2dad7fc" alt=""><figcaption></figcaption></figure>

If the archive builds successfully, it appears in the [Archives organizer.](https://help.apple.com/xcode/mac/current/#/devea503dbda)


---

# 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.stylemixthemes.com/motors-app-documentation/ios-app-release/build-archive.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.
