> ## 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).

# GitHub Actions macOS runner alternative

> If GitHub Actions macOS jobs are slow, queued or costly, switch the runner line to xenoci and keep your workflow steps.

> [!NOTE]
>
> **Try it now:** paste this line into Claude Code, Codex or Cursor. It installs box, signs you in with GitHub and runs your first build:
>
> ```text theme={"system"}
> Set up XenoCI Box with https://docs.xenoci.com/setup
> ```
>
> Your first sign-in adds \$10 of credit, about 200 Mac minutes (once per GitHub account).

When an iOS workflow waits for a macOS runner or you want a different way to pay for Mac build time, you can keep the GitHub Actions workflow and change its runner label to `xenoci`.

## Connect GitHub

In a terminal, connect a personal account:

```bash theme={"system"}
box ci connect --personal
```

For an organization, use `box ci connect --org`. Approve the GitHub installation and select the repositories that can use the runner. See [GitHub Actions setup](https://docs.xenoci.com/ci/github.md).

## Change one line

Keep the existing checkout and build steps. Set the job's runner:

```yaml theme={"system"}
jobs:
  build:
    runs-on: xenoci
    steps:
      - uses: actions/checkout@v4
      - run: xcodebuild -scheme App -destination 'platform=iOS Simulator,name=iPhone 16' test
```

The example uses the documented workflow pattern. Keep your own scheme, destination and commands. GitHub dispatches jobs with this label to the connected box Mac runner.

## See jobs and charges

```bash theme={"system"}
box ci jobs
box ci logs <job id> --follow
```

Box bills iOS CI at \$0.05 per started minute from your prepaid balance, with no separate CI price. Up to 2 CI jobs run at once per account. Further jobs stay in GitHub's queue until a slot opens. See [CI on Macs](https://docs.xenoci.com/ci.md).

Related: [Xcode Cloud alternative](https://docs.xenoci.com/guides/xcode-cloud-alternative.md), [CI on Macs](https://docs.xenoci.com/ci.md), [GitHub Actions](https://docs.xenoci.com/ci/github.md), [Pricing](https://docs.xenoci.com/reference/pricing.md).

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


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