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
| Required | Recommended |
|---|---|
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
| Framework | Knob |
|---|---|
| Xcode / Swift | xcodebuild -sdk iphonesimulator -configuration Debug |
| Expo (EAS) | ios.simulator: true on your build profile in eas.json |
| React Native (bare) | xcodebuild -sdk iphonesimulator (Pods + workspace) |
| Flutter | flutter 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:
- Upload one installable
.apkartifact..aab,.apks, APK Set archives, and split APK archives are not supported. - Native libraries must include a supported 64-bit ABI. Revyl accepts
x86_64andarm64-v8a, butx86_64is the emulator's own ABI and React Native apps need it. APKs without native libraries are also supported. - 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.sofiles straight from the APK for the emulator's primary ABI and looks only underlib/x86_64/. Anarm64-v8a-only React Native APK passes validation and installs, then crashes at launch withSoLoaderDSONotFoundError(for example, forlibreactnative.so). - Every native library must exist for
x86_64. Android picks one ABI per app at install. If the app builds forx86_64but a dependency, such as a prebuilt AAR, ships its.soonly forarm64-v8a, that library is missing on the emulator and the app crashes when it loads it. Use a dependency version that shipsx86_64libraries.
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
| Framework | Knob |
|---|---|
| Gradle / Kotlin / Java | ./gradlew assembleDebug — debuggable + all ABIs by default |
| React Native (bare) | cd android && ./gradlew assembleDebug |
| Flutter | flutter 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.