Build Guidance
To use the Dev Loop, a build is required on every code change. Dart compiles into the native binary — see Dev Loop: Hot reload and rebuild configuration for the full breakdown.Build via the Revyl CLI
Prerequisites
- Flutter SDK installed (
flutter doctorpasses) - Xcode (for iOS) or Android SDK (for Android)
- Revyl CLI installed and authenticated (
revyl auth login)
Setup
Initialize the project using the Revyl CLI:Run Build
Run one profile/platform recipe locally:--remote to execute the same recipe on a Revyl cloud runner. Profiles
live under build.profiles, may contain ios and/or android, and are never
stored as active/default. See Configuration.
This command automatically builds and uploads the app to Revyl, where you can use it to start sessions.
Advanced Configuration
When you runrevyl init, Revyl makes a best-effort guess at your configuration. This section covers configuration in more detail.
If the build does not complete successfully modify the build commands manually in the config.yaml file.
Note: For flutter apps, use debug builds for better test reliability.
Debug builds provide an accurate view hierarchy extraction, better element identification, and faster execution.
Here are example commands of how to build your flutter app as a debug configuration:
Troubleshooting
iOS build fails
iOS build fails
Check Xcode configuration:
Android build fails
Android build fails
Clean and rebuild:
Can't find build file
Can't find build file
Check build output directory: