Skip to main content

Lesson 3 of 11

EAS Build - Cloud Builds for Expo

EAS Build (Expo Application Services) builds your app in the cloud - no need for a Mac to build iOS or a configured Android SDK. It produces signed .ipa and .aab files ready for App Store and Google Play submission.

25 minBy Priygop Editorial TeamUpdated 2026Peer Reviewed & Verified

EAS Build Setup

EAS Build Setup
npm install -g eas-cli
eas login
eas build:configure   # creates eas.json

# eas.json - build profiles
{
  "cli": { "version": ">= 7.0.0" },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal",
      "ios": { "simulator": true },
      "android": { "buildType": "apk" },
      "env": { "APP_ENV": "development" }
    },
    "preview": {
      "distribution": "internal",
      "ios": { "simulator": false },
      "android": { "buildType": "apk" },
      "env": { "APP_ENV": "staging" }
    },
    "production": {
      "android": { "buildType": "aab" },  // .aab for Play Store
      "ios": { "credentialsSource": "remote" },
      "env": { "APP_ENV": "production" }
    }
  },
  "submit": {
    "production": {
      "android": {
        "serviceAccountKeyPath": "./credentials/play-store-service.json",
        "track": "internal"  // internal → alpha → beta → production
      },
      "ios": {
        "appleId": "developer@mycompany.com",
        "ascAppId": "1234567890"  // App Store Connect App ID
      }
    }
  }
}

# Commands:
eas build --platform android --profile production   # Build .aab for Play Store
eas build --platform ios --profile production         # Build .ipa for App Store
eas build --platform all --profile production         # Both simultaneously

# Submit to stores (after build succeeds):
eas submit --platform android --profile production
eas submit --platform ios --profile production
eas submit --platform all --profile production

# Build status: eas build:list

Tip

Tip

Practice EAS Build Cloud Builds for Expo in small, isolated examples before integrating into larger projects. Breaking concepts into small experiments builds genuine understanding faster than reading alone.

Diagram
Loading diagram…

Cloud compilation of iOS .ipa and Android .aab binaries without a local Mac

Practice Task

Note

Practice Task - (1) Write a working example of EAS Build Cloud Builds for Expo from scratch without looking at notes. (2) Modify it to handle an edge case (empty input, null value, or error state). (3) Share your solution in the Priygop community for feedback.

Quick Quiz

Common Mistake

Warning

A common mistake with EAS Build Cloud Builds for Expo is skipping edge case testing - empty inputs, null values, and unexpected data types. Always validate boundary conditions to write robust, production-ready react native code.

Topics in This Module

0/11 done