local-build

Installation
SKILL.md

Local Build Workflow (APK and .app)

Overview

Generate two shell scripts that build release artifacts for an Expo / React Native project using the platform toolchains directly:

  • scripts/build-android.sh → runs ./gradlew assembleRelease and copies the APK into builds/
  • scripts/build-ios.sh → runs xcodebuild for the iOS Simulator and copies the .app into builds/

Both scripts replace the previous artifact on each run, so the output path is always predictable.

Why this exists: Debug builds on an Expo project include expo-dev-client and launch the "Development Servers" picker instead of the app UI. For e2e runs, teammate previews, or real device installs, you need a Release build, and that's what these scripts produce.

Step 0: Confirm the project is a React Native / Expo app

Before doing anything else, verify the current directory is an Expo/React Native project:

  1. Check for package.json with expo in dependencies.
  2. Check for app.json or app.config.ts / app.config.js.
Related skills
Installs
53
GitHub Stars
89
First Seen
Apr 16, 2026