# Build

> One Xcode Cloud build: its state, workflow, branch or tag, timing and commit, each action's result, its files to download and every issue it reported, with Run Again.

Source: https://air.build/docs/screens/developer/build/

The Build screen shows one Xcode Cloud build: where it stands, what started it, the commit it built, how each action went, the files it produced and every issue it reported. It's titled **Build** and the build's number, for example **Build 128**. Nothing here can be changed, but you can download the build's files and run the build again.

## Open it

On the [Xcode Cloud](https://air.build/docs/screens/developer/xcode-cloud/) tab, under **Recent Builds**, tap a build.

**iPhone**

The build opens as a page on top of the tab. Go back with the back button at the top left. **Run Again** is the circular-arrow button at the top right.

**Mac**

The build opens as a sheet. **Run Again** is the circular-arrow button at the top right; close the sheet with **Done**.

While the build is **Pending** or **Running**, the screen keeps reading it until it finishes.

## What's on it

### The build

| Row | What it shows |
| --- | --- |
| **Status** | **Pending**, **Running**, **Succeeded**, **Failed**, **Errored**, **Canceled** or **Skipped**. |
| **Workflow** | The workflow that ran. |
| **Branch** or **Tag** | What was built. |
| **Started** | When it started, for example "2 hours ago". |
| **Duration** | How long it took, for example "12m 4s". Shown once it has finished. |
| Reason | Why it started or was canceled: "Started by a push", "Started manually", "Started again manually", "Started by a pull request", "Started by a pull request update", "Started on schedule", "Canceled by a newer build" or "Canceled by a user". |

### Commit

Shown when Apple reports the commit: the commit message (up to four lines), **Commit** (its first ten characters), **Author**, and **View Commit**, which opens the commit in your browser.

### Actions

One row per action: its name, then its kind, how long it took and its issues, for example "Test · 4m 2s · 1 test failure", with "Not required to pass" when its failure doesn't fail the build. Its state is at the right. "No actions reported yet." until Apple lists them.

### Artifacts

The files the build produced, each with its name, kind and size, and a download button. Kinds include **Archive**, **Exported Archive**, **Notarized Archive**, **Logs**, **Result Bundle**, **Test Products** and **Build Products**.

### Issues

Headed with the count, for example "3 issues". Each shows its kind (**Error**, **Test Failure**, **Warning** or **Analyzer Warning**), the message, and the file and line, as _path_:_line_.

## Download a file

1. Under **Artifacts**, tap the download button beside the file.
2. A bar shows the progress, and the row reads "Downloading".
3. When it's done, the row reads "Saved to Downloads". On iPhone and iPad, choose where to save the file. On the Mac it's in your Downloads folder, and **Show in Finder** shows it.

On the Mac, the footer says "Downloads go to your Downloads folder."

## Run it again

1. Tap **Run Again** (the circular arrow).
2. Choose **Run Again** to build the same workflow and branch or tag as before, or **Run Again from Clean** to start from a fresh checkout.
3. The screen closes and the new build appears at the top of **Recent Builds**.

**Run Again** is dimmed while a build is being started.

## Messages

| Message | When | What to do |
| --- | --- | --- |
| "The file couldn’t be downloaded. Try again." | A download failed. | Tap the download button again. |
| The reason, with **Try Again** | The build's actions, files and issues couldn't be read. | Tap **Try Again**. |
| The reason, at the end | **Run Again** failed. | Try again. |
