Skip to main content

Prerequisites

  • A Revyl account with cloud-build credits and available capacity
  • Your mobile app project in a Git worktree
  • A Revyl app for the selected platform, with its UUID configured in the recipe’s app_id before submission
1

Install the CLI

2

Run init

revyl init creates .revyl/config.yaml with a stable project ID and detected named build profiles. Use revyl app list --platform ios (or android) to find your app UUID, or revyl app create to create one.
3

Configure the build

Configure the build commands in .revyl/config.yaml:
For the full set of build options — artifact requirements, environment variables, toolchain images, and more — see Configuration.Replace the app_id placeholders with your app UUIDs and validate the config:
4

Run the build

The profile and platform select one recipe, which runs in the cloud by default. When an omitted value has exactly one eligible choice, the CLI resolves it. Otherwise, interactive use prompts and non-interactive use fails with the available choices. No profile is stored as active or default.Cloud builds upload your working tree. --branch <name> selects the Revyl destination branch; omitting it uses the app default branch. Keep secrets out of source and use encrypted build secrets instead.Useful variations:
For a detached build:
5

Use the build

The new version is registered in the selected app branch. With --json, a completed remote build returns status: success and build_version_id. A detached submission returns build_job_id; monitor it with build status, whose successful JSON result contains version_id. Use that uploaded build ID to boot a device and run a test against the exact artifact:
To refresh a shared Atlas after merges or weekly, use the maintenance recipe, which explores the exact uploaded build and handles bounded monitoring and cleanup.

If the build fails

Check the log tail printed by revyl build. You can also run:
That shows where the build failed and the most recent logs.

Next steps

Configuration

Named profiles, inherited recipe values, and all CLI flags.

Caching

Speed up repeat builds with compilation and configured path caches.

Toolchain Images

Pin the Xcode or Android toolchain version.

GitHub Integration

Build every pull request automatically.