Build and run your iOS app in the cloud, from any OS.
Send Mobilebox your Xcode project (an upload, a Git URL or a download link) and it builds the app on Macs in the cloud, then installs it on an iPhone or iPad simulator your AI agent drives, all from Windows, Linux or CI with no Mac. A build costs $0.05 a build-minute; our own SwiftUI app built in about 1 minute and was on an iPhone in about 1.5.
Sign up with GitHub, Google or email. New workspaces get free credit, no card.
Your source in, an iPhone with your app out.
One call builds the app and puts it on a new iPhone simulator. Your agent then reads the screen, taps through the flow and takes screenshots, as on any Mobilebox phone.
Every option and the response# Pack the project, build it, install it on a new iPhone
tar czf app.tar.gz -C MyApp .
curl -X POST "https://mobilebox.dev/v1/builds?scheme=MyApp&phone_id=new&wait=55" \
-H "Authorization: Bearer $MOBILESANDBOX_API_KEY" \
-H "Content-Type: application/gzip" --data-binary @app.tar.gz
# Or straight from Git (token only for a private repo, used once)
curl -X POST "https://mobilebox.dev/v1/builds" \
-H "Authorization: Bearer $MOBILESANDBOX_API_KEY" -H "Content-Type: application/json" \
-d '{"git_url": "https://github.com/you/app", "ref": "main", "phone_id": "new"}'
# Still building? Wait on it
curl -s "https://mobilebox.dev/v1/builds/$BUILD_ID?wait=55" -H "Authorization: Bearer $MOBILESANDBOX_API_KEY" \
| jq '{status, errors, app, phone}'Your agent builds, reads the errors, fixes and runs it.
The MCP tool build_app takes the same inputs. A failed build comes back with each compiler error as a file, line and message, so the agent opens that line, fixes it and builds again.
- 1
Build
build_appwithgit_url,source_urlorsource_base64(a base64.tar.gzup to 10 MB) andphone_id: "new". - 2
Fix what failed
errorslistsMyApp/Session.swift:59:8and the message; the agent edits the file and callsbuild_appagain. - 3
Use the app
On success the app is installed and open on the iPhone:
observe,actandscreenshottest it, andwatch_phoneshows it to you live.
What a build gives you
From the builds guide and the API reference.
| You send | You get back |
|---|---|
A .tar.gz, .tar or .zip of the project, up to 100 MB | The build’s status, from queued and building to succeeded or failed, and its log as it runs |
| A Git URL with a branch, tag or commit | A private repo’s token is used once for the clone and never stored; path picks the folder with the Xcode project |
| SwiftUI or UIKit, XcodeGen, CocoaPods, Swift packages, React Native, Expo | A project.yml is generated, Pods and packages are installed, and React Native and Expo projects are found from package.json |
| A failed build | errors with file, line, column and message, plus failure with the stage and the next step |
| A good build | A universal simulator .app (arm64 and x86_64) to download, its bundle id and version, and with phone_id the app on an iPhone or iPad |
| Cost | $0.05 a build-minute, billed per second with a one-minute minimum; the iPhone is $0.03 a minute as usual |
Questions
Building iOS apps without a Mac.
Can I build an iOS app without a Mac?
Yes. Send your Xcode project to POST /v1/builds (or build_app over MCP) from Windows, Linux or CI: Mobilebox builds it on Macs in the cloud and returns the simulator app, or installs it on an iPhone or iPad simulator in the same call. A build costs $0.05 a build-minute.
How long does a build take?
A typical build takes 1 to 2 minutes. Our own native iOS app (SwiftUI, XcodeGen) built in about 1 minute of build time and was installed and open on an iPhone and an iPad in about 1.5 minutes end to end, a 7 MB universal simulator app.
What does it cost?
$0.05 per build-minute, billed per second with a one-minute minimum, failed builds included, like phone minutes. A 2-minute build costs $0.10. The iPhone or iPad it installs on costs $0.03 a minute as usual. See pricing.
Can my AI agent fix a failing build by itself?
Yes. A failed build lists each compiler error with its file (relative to your project), line, column and message. Claude Code, Cursor or Codex opens that line, fixes it and calls build_app again, then tests the app on the iPhone it installs on.
Does it work from GitHub Actions on Linux?
Yes. A Linux job packs the source with git archive --format=tar.gz HEAD > app.tar.gz and posts it, or sends the repo’s git_url; no macOS runner is needed. publish_proof then turns the test run into a pull-request comment.
Is my source code kept?
No. Uploaded source is deleted from our servers as soon as the build has it and is never logged; a Git token is used once for the clone and never stored. The built apps are kept per workspace, the newest 20, so you can install one on another phone later.
And Android apps from source?
Send platform: "android" and the request is counted toward Android builds from source. The answer gives the way that works today: build the APK with ./gradlew assembleDebug, EAS or your CI, then install it with install_app. See run an APK online.
Read more
How do I test an iOS app with Claude Code, Cursor or Codex?
The MCP config for Claude Code, Cursor and Codex, a bounded test prompt for an iOS simulator in the cloud, the tool calls the agent makes and what a check costs.
How do I run an iOS simulator online, without a Mac?
Expo Simulators, Limrun, Appetize, Argent Cloud, a rented cloud Mac or Mobilebox: what each gives you, how an agent drives it, the published price, and how to make the simulator build on a macOS CI runner.