Skip to content

How to run iOS tests without a Mac

Xcode and the iOS Simulator only run on macOS. If you work on Linux or Windows, or in a cloud coding session, your XCTest suite has to run on a Mac somewhere else. This page compares the practical ways to do that and shows the quickest one step by step.

The short answer

Send the commit to a Mac you do not own. That can be a hosted run an assistant starts for you, a CI service with macOS runners, or a rented Mac you sign in to. With Baremetal Jobs, you ask Claude to run the tests on a branch, and about two minutes later the failing tests or compiler errors are in the conversation. A small project costs about US$0.10 a run.

Four ways, compared

WayWhat you set upWhat you pay forIt fits when
A hosted run that Claude starts for youConnect Baremetal Jobs once and approve the repository on GitHubEach started minute of a run (US$0.05)You want to check a commit now, or let Claude fix the code and run again until the tests pass
A CI service with macOS runners, such as GitHub Actions or Xcode CloudA workflow or pipeline for each repositoryThe provider’s macOS minutes or planEvery push should be tested and the results belong in pull requests
A rented Mac you sign in toThe machine itself: Xcode, runners and credentialsThe machine, by the day or monthYou need signing, physical devices, long sessions or full control
A Mac you already have, driven by a local toolA local Xcode tool for your assistant, or xcodebuild in a terminalNothing extraYou own a Mac and your assistant runs on it

The ways combine: CI for every push, and a hosted run while an assistant is working on a branch, because the result arrives in the conversation where the assistant can act on it.

Run the tests from Claude in four steps

  1. Add Baremetal Jobs to Claude, or add a custom connector with the address https://jobs.baremetal.ch/mcp, and sign in with your email address.
  2. Ask: “Run the tests on the main branch of github.com/you/your-app with Baremetal Jobs.”
  3. Approve access to that repository on GitHub when Claude gives you the link. The first approval adds US$2.00 of starter credit, enough for your first runs.
  4. Read the result. If tests failed, ask Claude to fix them and run again.

No project of your own at hand? Fork the sample repository and run that.

What comes back

The commit that ran, the test counts, each failing test with its assertion, or the compiler’s errors if the project did not build. This is the result of a run with two failing tests, shortened:

{
  "status": "failed",
  "tests": { "total_tests": 3, "passed_tests": 1, "failed_tests": 2, "skipped_tests": 0 },
  "failures": [
    { "test_name": "testSecondQueuePositionIsWrongOnPurpose()",
      "assertion": "XCTAssertEqual failed: (\"2\") is not equal to (\"3\") - Deliberate failure: ..." },
    { "test_name": "testThirdQueuePositionIsWrongOnPurpose()",
      "assertion": "XCTAssertTrue failed - Deliberate failure: ..." }
  ],
  "charge": { "charged_usd_cents": 10, "released_usd_cents": 15 }
}

How long it takes and what it costs

Measured on the production service on 2 December 2026, with the sample project. The price is US$0.05 per started minute.

  • One passing test: 93 seconds, US$0.10.
  • Three tests, two failing, both failures reported with their assertions: 89 seconds, US$0.10.
  • Two tests with a Swift package dependency downloaded during the build: 98 seconds, US$0.10.
  • A project that does not compile, reported with the compiler’s error: 44 seconds, US$0.05.

A larger project takes longer to build. Each run has a time limit you choose, five minutes unless you ask for another, and you are never charged past it.

What a hosted run needs

  • A GitHub repository you can push to, public or private.
  • An Xcode project (.xcodeproj) with a shared scheme whose tests run on the iOS Simulator.
  • A commit of at most 8 MB as a zip archive, 32 MB of files and 4,095 files.
  • Tests that need no signing identity, physical device or secret.

Not supported today

  • CocoaPods workspaces and repositories that are only a Swift package, with no Xcode project.
  • Swift packages in private repositories.
  • macOS, watchOS, tvOS and visionOS destinations, and physical devices.
  • Code signing, provisioning profiles and secrets.
  • Repositories with symbolic links or submodules.
  • Assistants other than Claude.

When a rented Mac is the better answer

A hosted run answers one question: does this commit build and pass its tests on the iOS Simulator. If you need to sign an app, use a physical device, debug interactively or keep a machine for hours, rent the whole Mac. See dedicated Mac mini rental and the remote Mac CI checklist.

Next