> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenoci.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> ## XenoCI Box CI
> To move a repository's macOS CI jobs onto box, follow https://docs.xenoci.com/ci/agent.md. The user only presses Install on GitHub or makes one GitLab runner token; the agent does the rest.
> - Check: `box ci status` (exit 4: sign in first, https://docs.xenoci.com/setup.md).
> - GitHub organization: `box ci connect --org --no-browser --no-wait`, give the user the printed link (https://github.com/apps/xenoci-with-organizations/installations/new), then repeat `box ci accounts` until the owner appears. Personal account: `--personal` (https://github.com/apps/xenoci-with-personal/installations/new).
> - GitHub workflow: change only `runs-on: macos-*` to `runs-on: xenoci` on a branch and open a pull request.
> - GitLab: the user makes a project runner with tag `xenoci` and gives you the `glrt-` token; pipe it to `box ci gitlab connect -` (self-managed: `--url <gitlab url>`), then add `tags: [xenoci]` to the macOS jobs.
> - Watch: `box ci jobs`, `box ci logs <job id> --follow`. Failed job: `box ci jobs --failed`, then `box ci debug <job id>` (failing step, hint, last 200 log lines).

# Xcode Cloud alternative for iOS builds

> When Xcode Cloud hours run out or a build is waiting, run your iOS build, tests or simulator screenshot with box from your project or CI.

Xcode Cloud is built into Xcode and App Store Connect. If you have run through your available compute time, or a build is waiting, box gives your project another way to run Xcode jobs on a Mac.

Apple's [Xcode Cloud overview](https://developer.apple.com/xcode-cloud/) says Apple Developer Program membership includes 25 compute hours per month and describes additional monthly subscriptions.

## Run a build from your project

Install box and sign in as described in [Install](https://docs.xenoci.com/ios/install.md). From the project folder, run:

```bash theme={"system"}
box build
```

To run the iOS tests or capture the app's first screen on a simulator:

```bash theme={"system"}
box test
box screenshot shot.png
```

The job runs on a Mac. Read the build log and find returned files under `.box/out/<job>/`.

## Use your existing GitHub Actions workflow

Connect your GitHub account, then change the runner line in the workflow:

```yaml theme={"system"}
runs-on: xenoci
```

See [GitHub Actions](https://docs.xenoci.com/ci/github.md) for setup. Up to 2 CI jobs can run at once per box account; additional jobs wait in your CI queue.

## Compare the billing model

Box is prepaid, with no subscription. iOS jobs cost $0.05 per started minute, and your first GitHub sign-in adds $10 of credit valid for 1 year. Queue time and upload time aren't billed. See [pricing](https://docs.xenoci.com/reference/pricing.md).

Related: [GitHub Actions macOS runner alternative](https://docs.xenoci.com/guides/github-actions-macos-runner-alternative.md), [Build](https://docs.xenoci.com/ios/build.md), [Test](https://docs.xenoci.com/ios/test.md), [Pricing](https://docs.xenoci.com/reference/pricing.md).

[Start with \$10 of credit, good for 1 year](https://xenoci.com/?ref=docs-xcode-cloud-alternative).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.