Mobilebox
Menu

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
bash
# 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. 1

    Build

    build_app with git_url, source_url or source_base64 (a base64 .tar.gz up to 10 MB) and phone_id: "new".

  2. 2

    Fix what failed

    errors lists MyApp/Session.swift:59:8 and the message; the agent edits the file and calls build_app again.

  3. 3

    Use the app

    On success the app is installed and open on the iPhone: observe, act and screenshot test it, and watch_phone shows it to you live.

What a build gives you

From the builds guide and the API reference.

You sendYou get back
A .tar.gz, .tar or .zip of the project, up to 100 MBThe 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 commitA 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, ExpoA project.yml is generated, Pods and packages are installed, and React Native and Expo projects are found from package.json
A failed builderrors with file, line, column and message, plus failure with the stage and the next step
A good buildA 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

Next questions