Revyl Documentation

Builds

Artifact requirements

What your .app or .apk must look like before it can run on Revyl

Revyl runs tests on cloud simulators (iOS) and emulators (Android), not physical devices. That single fact drives every requirement below.

iOS

RequiredRecommended
Simulator-slice .app (or zipped .app). Built against the iphonesimulator SDK, not iphoneos, and containing arm64 simulator code.Debug configuration.

Standalone App Clips carrying NSAppClip are supported as iOS builds. Upload the simulator-built Clip's .app bundle or its ZIP archive to register the Clip's bundle identifier for test runs. If an archive includes a host app and its embedded Clip, Revyl selects the host; upload the Clip separately to test it.

CLI file and URL uploads also accept gzip-compressed tar archives named .gz, .tar.gz, or .tgz, including EAS artifacts that contain ZIP data despite those suffixes. URL ingestion additionally accepts uncompressed .tar archives. These archives must contain a supported .app bundle; arbitrary gzip-compressed files are not supported.

Why

Cloud simulators run a different CPU slice than physical iPhones. An .ipa produced for device distribution will not install on a simulator — simctl install rejects it with an arch mismatch. You need the .app bundle that Xcode/EAS produces when targeting the simulator.

Revyl's iOS simulators run on Apple silicon, so the app's executable must include arm64 simulator code. An x86_64-only simulator build is rejected at install. To check a build, run lipo -archs YourApp.app/YourApp; the output must include arm64.

How to satisfy it

FrameworkKnob
Xcode / Swiftxcodebuild -sdk iphonesimulator -configuration Debug
Expo (EAS)ios.simulator: true on your build profile in eas.json
React Native (bare)xcodebuild -sdk iphonesimulator (Pods + workspace)
Flutterflutter build ios --simulator --debug

.ipa archives are not supported. If your CI produces an .ipa, you'll need a parallel simulator-slice job to upload to Revyl.

Android

Three requirements:

  1. Upload one installable .apk artifact. .aab, .apks, APK Set archives, and split APK archives are not supported.
  2. Native libraries must include a supported 64-bit ABI. Revyl accepts x86_64 and arm64-v8a, but x86_64 is the emulator's own ABI and React Native apps need it. APKs without native libraries are also supported.
  3. APK must be debuggable (android:debuggable="true" in the merged manifest).

Why a supported 64-bit ABI

Cloud emulators run x86_64 Android images. The image's ARM translation layer can run arm64-v8a native code that Android itself extracts and loads, so some APKs with only arm64-v8a libraries run. APKs whose native libraries are only x86 or armeabi-v7a cannot run. Default debug builds from every framework usually include x86_64, so this mainly matters if you've narrowed abiFilters, android.ndkAbiFilters, or reactNativeArchitectures.

Don't rely on translation when the app loads its own native libraries:

  • React Native and other SoLoader apps need x86_64. SoLoader loads .so files straight from the APK for the emulator's primary ABI and looks only under lib/x86_64/. An arm64-v8a-only React Native APK passes validation and installs, then crashes at launch with SoLoaderDSONotFoundError (for example, for libreactnative.so).
  • Every native library must exist for x86_64. Android picks one ABI per app at install. If the app builds for x86_64 but a dependency, such as a prebuilt AAR, ships its .so only for arm64-v8a, that library is missing on the emulator and the app crashes when it loads it. Use a dependency version that ships x86_64 libraries.

To check an APK, list its native libraries with unzip -l app.apk 'lib/*' and confirm each .so under lib/arm64-v8a/ also exists under lib/x86_64/.

Why debuggable

Debuggable builds (android:debuggable="true" in the merged manifest) are what allow Revyl to walk the app sandbox via run-as <pkg> — the platform only permits that against debuggable apps on non-rooted (Play-image) emulators. That sandbox access powers the State tab: SharedPreferences, Jetpack DataStore, and your app's SQLite databases. It also keeps a number of test-execution paths fast and reliable.

The runtime will install a non-debuggable release APK — tests still execute, video records, logs flow. You lose the State tab, and a class of debugging-dependent features. Don't ship a release APK to Revyl by default; produce a debuggable variant for testing alongside whatever you ship to users.

How to satisfy it

FrameworkKnob
Gradle / Kotlin / Java./gradlew assembleDebug — debuggable + all ABIs by default
React Native (bare)cd android && ./gradlew assembleDebug
Flutterflutter build apk --debug
Expo (EAS)The development profile (developmentClient: true, android.buildType: "apk") is debuggable and ships all ABIs

Custom abiFilters is the most common reason a build fails to install on Revyl. If you've narrowed the ABI set for size reasons, include x86_64, or produce a separate Revyl-targeted APK variant that includes it. React Native and other SoLoader apps must include x86_64. Do not upload .apks files or ZIPs containing multiple split APKs; Revyl does not install APK sets.

Artifact size

Build artifacts may be up to 5 GiB. Revyl enforces this limit from the bytes it receives or reads from storage, regardless of any size reported by the upload client or source server.

Validation uses a bounded 8 GiB temporary workspace for the artifact and any files extracted or repackaged from it. A compressed archive below 5 GiB can still be rejected if processing it would exceed that workspace.

The CLI also limits each local conversion to 8 GiB of temporary files and 8 GiB of uncompressed data during repacking. These limits apply separately to each CLI process. See upload existing builds for local conversion behavior.

FAQ

On this page