# 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="/files/oHo9UL2LZiYT47YSjuVk" 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: 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:

```
GET https://docs.stylemixthemes.com/motors-app-documentation/ios-app-release/build-archive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
