# 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&#x26;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)
