Build Expo app for production using EAS Build. Supports local and cloud builds for iOS and Android.
git status — warn if uncommitted changeseas.json — confirm production profile existsapp.json for version, buildNumber, versionCodeeas.json has "autoIncrement": true, inform it's automatic. Otherwise ask:
"Current: v{version} (iOS build {buildNumber}, Android code {versionCode}). Bump version? (y/n)"
Build type?
1. cloud — EAS cloud build (default, no local SDK needed)
2. local — EAS local build (requires Xcode / Android SDK)
Parse from $ARGUMENTS if flag present.
--localiOS:
eas build --platform ios --profile production
# or with --local flag:
eas build --local --platform ios --profile production
Android:
eas build --platform android --profile production
# or with --local flag:
eas build --local --platform android --profile production
For "both", launch two builds. Cloud builds can run in parallel.
Note the build ID, dashboard URL, or local artifact path.
Build Complete
==============
iOS: {build_id or file path}
Android: {build_id or file path}
Dashboard: https://expo.dev/accounts/{account}/builds