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

# Flutter build iOS with GitHub Actions

> Build and test a Flutter iOS app in GitHub Actions with the Flutter action and a xenoci runner.

> [!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).

Use the Flutter steps from your workflow and run them on a `xenoci` runner to build an iOS Simulator app with GitHub Actions.

## Connect GitHub

Connect a personal account with `box ci connect --personal`, or an organization with `box ci connect --org`. See [GitHub Actions setup](https://docs.xenoci.com/ci/github.md).

## Set up the Flutter job

This workflow follows the [Flutter iOS example](https://github.com/Xeno-CI/flutter-ios-without-mac/blob/main/.github/workflows/ios.yml):

```yaml theme={"system"}
jobs:
  ios:
    runs-on: xenoci
    steps:
      - uses: actions/checkout@v4
      - uses: subosito/flutter-action@v2
        with:
          channel: stable
      - run: flutter pub get
      - run: flutter test
      - run: flutter build ios --simulator --debug
```

## Watch the job

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

iOS CI costs $0.05 per started minute. Your first GitHub sign-in adds $10 of credit, valid for 1 year. See [pricing](https://docs.xenoci.com/reference/pricing.md).

[Start with \$10 of credit](https://xenoci.com/?ref=docs-flutter-build-ios-github-actions).


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