# Selecting a release candidate

In the release candidate stage you can specify a release branch, and select a Workflow that can generate an .ipa or an .xcarchive file. (for example, with the Xcode Archive & Export for iOS Step).

You can also choose to automatically upload a new release candidate each time you finish a build on the selected release branch with the specified Workflow.

To select a release candidate:

2. Select Release candidate on the left navigation bar.

3. Under the Configuration section, click on the button.

This will open up the Configure release candidate window.

4. Select a Release Branch and a Workflow using their respective dropdown menus.

### Selecting a Workflow

Make sure that the Workflow you selected can generate either an .ipa or an .xcarchive file and that it can deploy Artifacts. The easiest way to ensure that is to add the following Steps to your Workflow:

5. If you want to upload all successful builds to TestFlight, click the radio button next to Upload all successful builds automatically.

6. Click .

7. If you opt to manually upload a selected build to use as the release candidate, you can do so by scrolling down to the Available builds section and toggling the Lock as RC next to the build. The selected build will be added to Active Build section.

If you don't use the toggle to lock a build as the release candidate, the latest build will be added to the Active Build section.