中文

MiniBay › Guides › Mac mini as an iOS build server

Using a hosted Mac mini as an iOS CI build server

Xcode only runs on macOS, so every iOS team needs a Mac somewhere in its pipeline. This guide looks at running that Mac as a dedicated build machine in an Australian data centre: how it connects to your CI, how to size it, and when it is cheaper than paying by the minute.

MiniBay is in pre-launch. We are taking reservations to decide whether to open. A reservation is a A$50 deposit that you can have refunded at any time. If we do not open your bay, you are refunded in full automatically.

Why a dedicated build Mac

How it connects to your CI

Install your CI system's agent on the Mac: a GitHub Actions self-hosted runner, a GitLab Runner, a Bitbucket macOS runner, a Buildkite agent or a Jenkins agent. These agents connect outward to the CI service and wait for jobs, so you do not need to open inbound ports for CI. Jobs then target the machine by label, for example runs-on: [self-hosted, macOS, ARM64] in GitHub Actions.

The fixed IPv4 address is useful in the other direction: you can add it to the allow-list of a private Git server, package registry or artifact store.

Sizing

Code signing on a headless Mac

Security

A self-hosted runner executes whatever a workflow tells it to, and it does not reset between jobs. Use it for private repositories only; GitHub itself advises against attaching self-hosted runners to public repositories, where a pull request from a stranger could run code on your machine. Clean the workspace at the start of each job, and keep SSH on keys only.

Flat fee or per-minute?

The comparison is simple once you know your own usage:

Break-even minutes per month = monthly cost of the dedicated Mac ÷ per-minute price of your hosted macOS runner.

Take the minutes from your CI provider's billing page and the per-minute rate from its current price list, in the same currency. If you use more minutes than the break-even figure, a dedicated machine is cheaper. Warm caches also shorten each build, which the formula does not capture.

Hosted runners remain the better choice when you build rarely, when you need many jobs in parallel for short bursts, or when nobody on the team wants to look after a Mac.

What you take on

Why Australia

For an Australian team, a build machine in Melbourne or Sydney means your source code is checked out and your signing keys are used on hardware inside the country, and remote sessions into the machine respond quickly. The address is a data-centre address; we do not offer residential IP addresses and do not provide or help with getting around the regional restrictions of any service.

Rent a dedicated M6 build machine for A$199 a month, or host your own Mac mini for A$89 a month, ex GST, in Melbourne or Sydney. Reserve with a A$50 deposit that is refundable at any time.

See plans and reserve

Last updated 21 November 2026