Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ Builds the working tree for the iOS simulator and makes that simulator usable
from the [MobAI](https://mobai.run) app, so you can tap through a build without
a Mac. It shows up under CI Devices, stays available while you are using it, and
closes when you release it there or leave it unused (30 minutes by default, use
`--duration` to change).
`--duration` to change). A coding agent connected to MobAI (Claude Code, Codex,
Cursor) can drive the simulator the same way.

Needs MobAI Pro and a `MOBAI_API_KEY` repository secret. Create the key in the
MobAI app under Account → API Keys, then:
Free with any MobAI account, on [MobAI 3.0 or later](https://mobai.run). Needs
a `MOBAI_API_KEY` repository secret: create the key in the MobAI app under
Account → API Keys, then:

```bash
gh secret set MOBAI_API_KEY
Expand Down Expand Up @@ -144,7 +146,7 @@ builder update # Update builder to the latest release
builder ios build # Trigger build and download IPA to ./dist/
builder ios build --unsigned # Build without code signing (if signing is configured)

# Simulator (requires MobAI Pro)
# Simulator (free, needs a MOBAI_API_KEY secret)
builder ios share # Try the build on a simulator in the MobAI app
builder ios share --duration 1h # Keep it available longer while unused

Expand Down
2 changes: 1 addition & 1 deletion cmd/builder/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ Mac.
The simulator appears in MobAI under CI Devices. It stays available while it is
being used and closes once it is released there, or left unused for a while.

Requires MobAI Pro and a MOBAI_API_KEY secret on the selected provider.
Free with any MobAI account; needs a MOBAI_API_KEY secret on the selected provider.
GitHub Actions is the default. Codemagic/Bitrise return a submitted session and
workflow URL; the simulator appears in MobAI once its build and bridge start.`,
RunE: runIOSShare,
Expand Down
4 changes: 2 additions & 2 deletions docs/provider-secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ field, and do not base64-encode them.

Open the [MobAI app](https://mobai.run), go to **Account → API Keys**, create an
API key, and copy its value. Save it under `MOBAI_API_KEY` in each provider using
the next two sections. MobAI Pro is required for CI simulator sharing.
the next two sections. CI simulator sharing is free with any MobAI account.

This is your MobAI account key. It is separate from the Codemagic/Bitrise API
tokens used by `builder auth`, and from a host's `MOBAI_TOKEN`. If you only want
Expand Down Expand Up @@ -167,5 +167,5 @@ the provider's total build timeout. See [session lifecycle](providers.md#simulat

If the runner reports a missing `MOBAI_API_KEY`, check the Codemagic group import
or Bitrise Secrets entry. For authentication failures, check that the key is
current and belongs to the intended MobAI Pro account. When rotating a key or
current and belongs to the intended MobAI account. When rotating a key or
renewing signing files, update the secret values on both providers.
4 changes: 2 additions & 2 deletions docs/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ builder ios share --provider bitrise --duration 20m
builder ios cancel --provider bitrise --run-id RUN_SLUG
```

Set `MOBAI_API_KEY` as a secret on the chosen provider. MobAI Pro is required,
as for GitHub sharing. For the new providers, `ios share` returns **submitted**
Set `MOBAI_API_KEY` as a secret on the chosen provider. Any MobAI account will
do, as for GitHub sharing. For the new providers, `ios share` returns **submitted**
and a workflow URL. The simulator appears under MobAI's CI Devices once its
build and bridge start; acceptance by the CI service does not establish
readiness. Inspect the workflow URL for setup/build/bridge failures. Existing
Expand Down
Loading