# Build for Android and iOS

When the app is ready for a real phone or a store, use **Run → Build for Android / iOS…**:

1. Choose **Android**, **iOS** or **Both**.
2. Choose **Publish to the store** (an .aab for Google Play, an .ipa for the App Store) or
   **Test on my phone** (an .apk you install straight on an Android phone, or an iOS build for
   your registered iPhones).
3. A terminal opens and the build runs in **Expo's cloud**. Sign in with a free Expo account
   when asked. Store builds for iOS also need an Apple Developer account. When it is done, the
   download link shows in the terminal and on expo.dev.

Studio reads the app's details from `config:` (in src/config.vi):

- `name:` and `icon:` and the `splash:` block, as usual.
- `id:` the store id, like `com.yourname.tasks`. Made from the app name when missing, but set it
  before your first store build and **never change it after publishing**.
- `version:` like `"1.2.0"`. Build numbers are counted up automatically.

If something in the config is wrong (an id without dots, a version like "one"), Studio says what to fix first.
