box

Guides

Build an iOS app from Linux with Claude Code

# Build an iOS app from Linux with Claude Code

Claude Code on Linux has no Xcode, so an iOS build stops before it starts. box runs the build on a real Mac and streams the log back into the same session.

Run it

From the project folder:

box build

A real run of a small SwiftUI app, job bj_QBEvaDCprIfgfmKE:

** BUILD SUCCEEDED **
[box] BOX_BUILD_SECONDS=6 rc=0
box: bj_QBEvaDCprIfgfmKE succeeded, 60s billed, $0.05

What it costs

$0.05 per minute of build and test time on iOS, every started minute. Upload, queue and Mac start are free. The run above was one minute.

How else people do this

GitHub-hosted macOS runners are billed at 10 times the per-minute rate of Linux runners (https://docs.github.com/en/billing/reference/actions-runner-pricing). box charges for the minutes the build spends on the Mac, not for a runner that stays up between jobs.

Apple, Mac, macOS, iPhone, Xcode, Swift and SwiftUI are trademarks of Apple Inc., registered in the U.S. and other countries and regions. box is an independent service and is not affiliated with, sponsored or endorsed by Apple Inc.