Revyl Documentation

Builds / Remote builds

Toolchain images

Available remote build images and installed tools

A toolchain image is the runner setup for a build: the OS plus Xcode or the Android SDK. Pin one when your build needs a specific version.

The configuration snippet below focuses on image selection. Keep the recipe's runnable app_id and output_path alongside its build_commands.

Selecting an image

If you don't pick one, the platform's current default is used. Pin an image in config or per invocation:

build:
  framework: ios
  profiles:
    release:
      ios:
        build_commands: ["./scripts/build-release"]
        image: ios-macos-26-xcode-26.2
revyl build --build-profile release --platform ios --remote \
  --image ios-macos-26-xcode-26.2

Image precedence is --image, then the selected recipe's image, then the platform default. The special value latest uses the platform default. Image selection affects remote execution only; the same recipe's commands and output remain unchanged when it runs locally.

PR preview builds accept the same keys via the image field in the GitHub integration config.

iOS images

Android images

npm install scripts

Images that list npm 12, such as ios-macos-26-xcode-27.0 and later, block dependency install scripts by default. npm 12 does not run a dependency's preinstall, install, or postinstall script, or its implicit node-gyp build, unless your package.json allows that package. The install still succeeds and ends with a list of the packages whose scripts were not run. A later step then fails without naming the cause, for example pod install when a native dependency's postinstall download never ran. Images that list npm 10 run install scripts as before.

To allow the scripts you trust, run this locally with npm 12 or later and commit the package.json change:

npm approve-scripts <package>

It writes an allowScripts entry such as:

{
  "allowScripts": {
    "<package>@1.2.3": true
  }
}

npm rebuild follows the same policy, so it is not a workaround. To make an unapproved install script fail the install instead of being skipped, add strict-allow-scripts=true to the project's .npmrc.

bash on iOS images

The bash version in each iOS table is a Homebrew install. macOS's own /bin/bash is still bash 3.2, so a script with a #!/bin/bash line runs bash 3.2 even on these images. Start scripts that need bash 4 or later with #!/usr/bin/env bash.

Tools you install yourself

The images don't include the Flutter SDK. Install a pinned version in setup_commands and cache it; see Flutter remote builds.

Need a different toolchain?

If your build needs an Xcode, JDK, NDK, or SDK version that isn't listed, contact support@revyl.ai. New toolchain images are published as additional keys.

  • Configuration: where the image field lives
  • Caching: automatic compilation and configured path caches

On this page