vi studio

Lessons · Vi Studio · 28 of 36

Build for Android and iOS

Store builds and test builds in Expo’s cloud.

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):

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

Every example here runs in Vi Studio: open it in your browser (phones too) and press Start learning on the welcome page. Each code block there has a Try it button that runs it in the phone preview.

More in Vi Studio

About Vi. Vi is a free, open-source programming language for building real mobile apps. You describe each screen in plain words, and Vi compiles it to React Native (Expo) for Android, iOS and the web. Its editor, Vi Studio, runs on Windows, in any browser and on your phone, with the app running live as you type. Read more about Vi.