Guides
Answers to the questions people ask about building and testing an iOS app without a Mac on their desk. Every command below was run, and the output shown is what it printed.
- Take iOS simulator screenshots from Codex or Cursor
Codex and Cursor run on Linux, where there is no iOS simulator to take a picture of. box launches the app on a simulator on a real Mac and saves the picture next to the project. - 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. - Cut GitHub Actions macOS minutes with a test before you push
GitHub bills macOS minutes at 10 times the Linux rate (https://docs.github.com/en/billing/reference/actions-runner-pricing), and an agent that pushes on every change spends those minutes on builds that fail. Running the tests before the push means a failing change never reaches the runner. - Build an Expo iOS app without waiting in the build queue
Expo's free plan builds iOS apps on a low-priority queue, behind other builds. Running the build on a Mac you start yourself skips that queue. - Test a Flutter iOS app from Windows
Flutter builds an iOS app only where Xcode is installed, so `flutter build ios` on Windows stops with a message that iOS builds need a Mac. box runs the command on a real Mac. - Debug an iOS app with LLDB from a cloud sandbox
A cloud sandbox has no iOS simulator, so a crash cannot be stopped under LLDB there. box launches the app under LLDB on a real Mac, sets the breakpoints you name, and prints the stack at each stop. - Fix "xcodebuild: command not found" on Linux CI
`xcodebuild` ships with Xcode, and Xcode only runs on a Mac. On a Linux machine the shell says so directly: - Run XCTest without a Mac
XCTest runs inside the iOS simulator, and the simulator only runs on a Mac. From Linux the test command fails before a single test starts. box runs the tests on a simulator on a real Mac.