# tuist build xcode target list

Lists all targets for a build.

## Arguments

### build-id

The ID of the build.

```bash
tuist build xcode target list [build-id]
```

### project `Optional`

The full handle of the project. Must be in the format of account-handle/project-handle.

```bash
tuist build xcode target list --project [project]
tuist build xcode target list -P [project]
```

### path `Optional`

The path to the directory or a subdirectory of the project.

```bash
tuist build xcode target list --path [path]
tuist build xcode target list -p [path]
```

### status `Optional`

Filter targets by status (success or failure).

```bash
tuist build xcode target list --status [status]
```

### page `Optional`

The page number to fetch (1-indexed).

```bash
tuist build xcode target list --page [page]
```

### page-size `Optional`

The number of targets per page. Defaults to 10.

```bash
tuist build xcode target list --page-size [page-size]
```

### json `Optional`

The output in JSON format.

```bash
tuist build xcode target list --json
```
