Section 04
Everyday commands
| Command | What it does |
|---|---|
leas build -p ios | Build on this machine using the production profile. |
leas build -p all --cloud | Build both platforms on the rented fleet, then download the artifacts. |
leas build -p all --auto-submit | Build, then upload to both stores the moment each build succeeds. |
leas build --profile preview | Use a different profile — preview ships ad-hoc iOS and an installable APK. |
leas submit -p ios | Upload the most recent artifact without rebuilding. |
leas submit --path build.aab | Upload a specific file — useful when re-submitting an approved build. |
leas update --channel production | Ship a JS-only change to devices already in the field. Section 6. |
leas update:rollback --embedded | Emergency stop — send every device back to the bundle inside the binary. |
leas dashboard | Open the live build and update dashboard. |
leas prebuild --clean | Regenerate ios/ and android/ from scratch after changing native config. |
The profiles, and when to reach for each
| Profile | iOS | Android | Use it for |
|---|---|---|---|
development | Debug, development signing | APK | Running a dev client on a real device. |
preview | Release, ad-hoc | APK | Handing a build to a colleague or a client without the stores. |
production | Release, app-store | App bundle | Anything going to TestFlight, Play, or review. |
Profiles inherit with extends, so preview picks up all of
production's credential paths and overrides only the export method.