Guide / Tutorial

Build iOS and Android Apps with Claude Code and Expo: The Whole Workflow

You no longer need a Mac to see your app on an iPhone. This guide walks through a complete AI mobile workflow with Claude Code and Expo, from the first planning prompt to cloud simulators, agent-driven tests, a parallel QA Swarm and a landing page with legal drafts.

Claude CodeThis guide is about Claude Code.
Build iOS and Android Apps with Claude Code and Expo: The Whole Workflow

A step-by-step guide to the whole mobile workflow with an AI coding agent: plan the app, create it with Expo, run an iPhone simulator in the cloud (even on Windows), build it prompt by prompt, let AI agents test it on iOS and Android, and finish with a landing page and legal drafts.

Reading map

  • Part I: Setup — the three tools you need and why Expo removes the “you need a Mac” problem (sections 1 to 3).
  • Part II: Plan and create — a planning prompt, the Expo project, the agent skills, the Expo account and a cloud simulator (sections 4 to 8).
  • Part III: Build — live edits, the UI prompt, a polish pass and the real features, one prompt at a time (sections 9 to 12).
  • Part IV: Let AI test it — a single agent that taps through the app, then Android, then a QA Swarm of agents in parallel (sections 13 to 16).
  • Part V: Launch pages — a landing page plus privacy policy and terms drafts (section 17).
  • A comparison of the three testing approaches, a quick reference of every command and prompt, and an FAQ.

The Idea in One Paragraph

Asking an AI to write a mobile app is now the easy part; seeing it on a device, testing every screen and doing the launch chores are harder. This workflow covers all three. The app is built with React Native and Expo, so one codebase becomes both an iPhone app and an Android app. Expo Simulators run iOS and Android devices in Expo’s cloud and open them in your browser, which means a Windows PC can show an iPhone simulator. And because the AI coding agent can control those simulators, it does not just write the code; it opens the app, taps through it and reports what works. The example app is PocketTrip, a small travel planner where you create trips and tick off activities. The same steps apply to any app. The same stack was used to build and publish a real calorie-tracker app to the App Store in 14 days.

Part I — Setup

1. Three tools

You need three things on your machine.

  • Node.js is required. Download it from nodejs.org and keep the default options; the installer picks the right build for your system.
  • VS Code is optional, but it is the editor used here, and the Claude Code extension lives inside it.
  • An AI coding agent. This guide uses Claude Code. Codex, Cursor or similar tools follow the same workflow; only the prompt box changes.

Everything works on Windows, macOS or Linux. The recording was made on a Mac, but nothing in the steps depends on it.

The Node.js download page: the one tool you must install
The Node.js download page: the one tool you must install • 00:02:30

2. A project folder and the Claude Code extension

Create an empty folder on your desktop (the example calls it Pocket Trip) and drag it into VS Code. Open the Extensions panel, search for Claude, and install Claude Code for VS Code by Anthropic. Open a Claude Code panel, sign in, pick a model and send a simple “hi” to check that it answers. The recording used Opus 5.5 with High effort.

Installing the Claude Code extension inside VS Code
Installing the Claude Code extension inside VS Code • 00:03:57

3. Why Expo, and what Expo Simulators change

Expo is a framework and a set of tools on top of React Native. Its biggest advantage is that one codebase produces both the iOS app and the Android app, so you do not maintain two separate projects. It also works whether you develop on Windows or macOS.

The old problem was the iPhone simulator: it ships with Xcode, which only runs on a Mac. Expo Simulators solve this. They run iOS and Android devices on Expo’s cloud, you open them in a browser tab, and an AI agent can be given control of them.

Node + an editor + an AI agent + Expo. No Mac required.

Part II — Plan and Create

4. Plan before you build

The most common mistake is opening the chat and writing “build me a travel app”. The AI then has to guess the features, the stack and the design, and you usually get something you do not want. Instead, the first prompt describes the app and asks only for a plan:

I want to build a beautiful travel planner mobile app called PocketTrip using AI.

Tech stack:
- Expo and React Native
- TypeScript
- Expo Router
- Local storage for persistence
- No backend or authentication for now

Main features:
1. Home screen showing upcoming trips
2. Create a new trip with destination and dates
3. Trip details showing planned activities
4. Add and complete activities
5. Persist trip data locally

The app should work on both iOS and Android.

We'll also use Expo Simulators to preview and test our app through an AI coding agent.

First, create a detailed but beginner-friendly development plan. Don't implement anything yet.
The planning prompt: app, stack, features, and "don't implement anything yet"
The planning prompt: app, stack, features, and “don’t implement anything yet” • 00:07:20

Claude answers with a plan in phases: a theme and navigation skeleton (Phase 1), a data layer with types, storage and a trips context (Phase 2), the create-trip form with validation (Phase 3), the home screen (Phase 4), then polish, testing with simulators and a list of what is left out for now. Each phase ends with a Check line you can verify, for example “a new trip appears on Home and is still there after a reload”. On a real project, read the whole plan and ask Claude to change anything you disagree with before any code is written. Plan mode in Claude Code is a good fit for this step.

Claude's phased plan, each phase ending with a check
Claude’s phased plan, each phase ending with a check • 00:07:50

5. Create the Expo project

Open the terminal in VS Code (Ctrl+J on Windows, Cmd+J on a Mac) and create the app with the default template:

npx create-expo-app@latest --template default@sdk-58

SDK 58 was the latest at the time of recording; use whatever is current. When the tool asks “What is your app named?”, type a single dot (.) so the project is created in the folder you already opened, instead of a new subfolder.

create-expo-app asking for the app name: answer with a dot
create-expo-app asking for the app name: answer with a dot • 00:08:55

6. Give the agent Expo’s skills

Expo publishes skills for AI agents: instructions that teach a coding agent how Expo projects are meant to be built, how to run simulators and how to interact with a running app. Search for “Expo skills” to find the page. In Claude Code they come as one plugin:

claude plugin install expo@claude-plugins-official

With the skills installed, Claude follows Expo’s recommended workflow instead of guessing. One of them, the EAS simulator skill, is what the agent uses for testing in Part IV.

Installing the Expo plugin for Claude Code
Installing the Expo plugin for Claude Code • 00:10:00

7. Connect the project to Expo, and know the cost

Create a free account on expo.dev. Then install the EAS command line tool, log in and link the project:

npm install -g eas-cli
eas login
eas init

eas init asks which account should own the project and creates it, after which it appears in your Expo dashboard with a Simulator sessions page.

One catch: Expo Simulators are only available on paid plans. At the time of recording, the pricing page listed:

Plan Price Simulators Notes
Free $0 / month Not included 15 Android and 15 iOS builds, 60 min of CI/CD workflows, submit to app stores
Starter $19 / month + usage Included $45 of build credit, high-priority queue
Production $199 / month + usage Included $225 of build credit, 15 concurrencies
Enterprise Custom Included For apps with scale, security and compliance needs

For a real store release the Starter plan covers creation, simulators and publishing; for demo projects the free plan is enough, minus cloud simulators. To check your access:

eas simulator:availability --json

"available": true in the output means your account can start simulators.

The Expo pricing page: Simulators start on the Starter plan
The Expo pricing page: Simulators start on the Starter plan • 00:13:25

8. Boot an iPhone in the cloud

The Expo docs page for Expo Simulators has a “Works with Expo Go” guide. It takes two terminals. In the first, start Metro (the development server) with a tunnel, so the cloud device can reach your computer:

EXPO_UNSTABLE_TUNNEL_V2=1 npx expo start --tunnel

In the second, start a simulator session, pasting the Metro URL from the first terminal where the guide says:

eas simulator:start --platform ios --type agent-device ...

The session shows as queued while it waits for capacity, then starting, and the command prints a link. Open it and you get a live iPhone 17 running your app in the browser, with a tools panel beside it for appearance (light or dark), text size, accessibility toggles, CPU and memory graphs and network requests. It is not running on your computer at all; it runs on Expo’s servers. This also works on Windows.

An iPhone 17 running the starter app in the browser, with Expo's tools panel
An iPhone 17 running the starter app in the browser, with Expo’s tools panel • 00:16:45

Recap: plan first, create the Expo app, add the skills, link the project, boot a cloud simulator.

Part III — Build It Prompt by Prompt

9. A live test: watch the simulator update

First, a throwaway change to see the loop: “for now, go ahead and update the UI and just put a simple to-do list. Delete everything that we currently have.” The simulator updates in real time as Claude edits, with no reload; it shows errors briefly while files are deleted, then the new screen appears.

The result was rough: the to-do list overlapped the phone’s status bar. That is exactly the kind of problem an agent test catches later, and fixing it is one more prompt.

The quick to-do list, sitting under the status bar
The quick to-do list, sitting under the status bar • 00:18:32

10. The UI prompt

Now the real app, starting with the interface only:

Now implement the initial UI for PocketTrip based on our development plan.

Create a premium-looking travel planner app using React Native and Expo Router.

Include:
- Home screen
- Featured upcoming trip card
- Trip list
- Create trip screen
- Trip details screen
- Activities section

Focus on beautiful typography, spacing, modern cards, and a consistent design system.

Keep everything compatible with Expo Go.

Don't add any backend yet.

Once finished, verify that the project compiles and tell me which screens were created.

“Compatible with Expo Go” matters: Expo Go is the app the cloud simulator uses to run your project, so it keeps the preview working without a custom build.

The UI prompt in Claude Code
The UI prompt in Claude Code • 00:19:03

11. A polish pass

A second prompt (“Improve the current PocketTrip UI. Make the design feel like a polished production-ready travel app.”) lists what to focus on: typography and spacing, attractive destination cards, consistent colors and rounded corners, empty states, clear buttons and form inputs, proper keyboard handling, and iOS and Android compatibility. It ends with “Don’t change the underlying navigation structure.”

The result is fair rather than perfect: destination cards for sample trips such as Kyoto and Lisbon, an upcoming-trips list, and an activities checklist you can tick, untick and delete. You can keep asking for improvements; the point is to separate “how it looks” from “what it does”.

The polished UI on the cloud iPhone
The polished UI on the cloud iPhone • 00:20:05

12. The real functionality

So far the app shows fake data. The next prompt makes it work:

Implement the main functionality of PocketTrip.

Features:
1. Create a new trip with destination, start date, and end date.
2. Display all saved trips on the home screen.
3. Open a trip to view its details.
4. Add activities to a trip.
5. Mark activities as completed.
6. Delete an activity or trip.
7. Save data locally so it persists between app launches.

Use an Expo Go-compatible storage solution.

Add proper validation, loading states where needed, and helpful error messages.

Keep everything working on both iOS and Android.

Run TypeScript and lint checks and fix any issues.

Claude removed the sample trips (a first launch now shows a “Your first trip awaits” empty state) and summarised the validation rules it added in src/lib/trip-rules.ts: a destination is required and must be 2 to 60 characters, the end date cannot be before the start date, and a trip can last at most 365 days. It also added a loading spinner and error messages for failed loads and saves.

The functionality prompt, with Claude writing the screens behind it
The functionality prompt, with Claude writing the screens behind it • 00:20:28

A manual test (create a trip, add activities, tick, untick, delete) is fine for three screens, but nobody can click through hundreds by hand. That is where Part IV comes in.

The pattern: plan, then UI, then polish, then function. One focused prompt at a time.

Part IV — Let AI Test It

13. One agent drives the simulator

Because the Expo skills are installed and the simulator is in the cloud, Claude can open the app and use it like a person. The test prompt:

Use the official Expo eas-simulator skill to test our PocketTrip mobile application.

Follow Expo's current documentation:
https://docs.expo.dev/eas/simulators/introduction/

Reuse our existing iOS cloud simulator session if it is still active and compatible.

Use the supported agent-device controller to interact with the running application.

Perform the following test:

1. Open the application.
2. Create a new trip called "Tokyo Adventure".
3. Add an activity named "Visit Asakusa".
4. Mark the activity as completed.
5. Navigate back to the home screen.
6. Reopen the trip.
7. Verify that the trip and activity are still saved.

Capture screenshots of the important steps.

Report which steps passed or failed, including evidence.

Do not modify application code during this test.

Keep the session open for review.

Three lines do most of the work: reusing the session saves booting a new device, “including evidence” makes the agent attach screenshots you can check, and “Do not modify application code” keeps a test run from silently changing the app.

Claude creating "Tokyo Adventure" and adding "Visit Asakusa" on the simulator, with nobody touching it
Claude creating “Tokyo Adventure” and adding “Visit Asakusa” on the simulator, with nobody touching it • 00:24:18

Then nobody touches anything. Claude reads the screen, types the trip name, taps through the form, adds the activity and explains each step in the chat while the simulator moves next to it.

14. Read the report

The report is a table of steps, results and evidence. In the recording all seven steps passed, and Claude added an extra check of its own: a full relaunch, which proved the data is saved to storage rather than held in memory. Each row points to its screenshot number.

It also listed a bug found: a styling problem in the trip card component, where a style passed to a pressable element was dropped so the featured card lost its layout. That is the loop you want. The agent builds, tests, and hands you a precise follow-up prompt (“fix the trip card bug and re-check it on the simulator”).

The agent's test report: seven passes plus a full relaunch, and a bug it found
The agent’s test report: seven passes plus a full relaunch, and a bug it found • 00:27:25

15. Android works the same way

The test above ran on iOS only. For Android, run the same eas simulator:start command with --platform android. The Expo dashboard then lists both devices, an iOS simulator and an Android emulator, and you can open either in the browser. Ask Claude to run the same test on Android and it drives that device the same way.

An Android emulator (Medium Phone) running live in the cloud
An Android emulator (Medium Phone) running live in the cloud • 00:25:30

16. A QA Swarm: many agents in parallel

One agent testing one flow at a time is fine for a small app. With twenty screens, authentication, payments and user profiles, it gets slow. QA Swarm is an Expo workflow that runs several AI agents in parallel; each gets its own cloud simulator and its own flow to test, and the results are combined into one report.

The setup prompt:

Set up the official Expo QA Swarm workflow for our PocketTrip project.

Follow:
https://docs.expo.dev/agentic-workflows/setup/
https://docs.expo.dev/agentic-workflows/qa-swarm/

Use Claude Code as the agent runner and agent-device as the controller.

Configure these QA test flows:

1. App launch
2. Navigation between main screens
3. Creating a trip and saving an activity
The QA Swarm setup prompt, above the earlier test report
The QA Swarm setup prompt, above the earlier test report • 00:27:35

The workflow runs in Expo’s cloud, so it needs a few things first:

  1. Push the project to GitHub. Before committing, ask Claude to make sure everything that should be ignored (such as environment files and test output) is in .gitignore. Create a repository and push.
  2. Connect the repository to the Expo project in the project’s GitHub settings on expo.dev.
  3. Add two secrets as Expo environment variables for the preview environment: an Expo access token (created under Settings, Access tokens, and stored as EXPO_TOKEN_SIMULATOR) and a Claude Code OAuth token, which you get by running claude setup-token in a terminal (stored as CLAUDE_CODE_OAUTH_TOKEN). Keep both values private; never paste them into a chat, a commit or a screenshot.

Then start the workflow from the terminal:

eas workflow:run .eas/workflows/qa-swarm.yml --ref master

Expect failures on the first runs: here the app ID was not found, then the repository was not connected, then the latest commit was not pushed. Each time, pasting the error back into Claude produced the fix.

Once it runs, the workflow graph fans out: a fingerprint step, builds (or repacks) for Android and iOS, then six lanes, the three flows on each platform (lane_android_launch, lane_android_navigation, lane_android_create_trip, and the same three for iOS), all feeding one report.

The QA Swarm workflow graph: builds, then six lanes, then one report
The QA Swarm workflow graph: builds, then six lanes, then one report • 00:35:17

After nearly 30 minutes the run succeeded. The QA Swarm report lists every lane as PASS with a short description of what was checked and an “Evidence site” link, for example “iOS, create trip and activity: PASS: Created the Tokyo trip, added Visit Asakusa, marked it done, and after leaving and reopening the trip it was still saved and checked.” Each simulator also records a replayable video; if a lane fails, paste its logs into Claude.

The QA Swarm report: all six lanes passed, each with evidence
The QA Swarm report: all six lanes passed, each with evidence • 00:35:55

Recap: one agent for quick checks, a swarm for many flows at once, and every failure goes straight back to the agent.

Part V — Launch Pages

Before an app goes to the store it needs a website that explains it, plus a privacy policy and terms of service. One more prompt, in a new session:

Create a modern, responsive landing page for our PocketTrip mobile application.

Use Next.js and Tailwind CSS in a separate landing-page directory.

Include:
- Hero section
- App screenshots section
- Features section
- Download app CTA placeholders
- Footer

Also create drafts for:
- Privacy Policy
- Terms of Service

Base the legal drafts on the application's actual features and data handling.

Do not invent company details or falsely claim that a legal document guarantees compliance.

Use placeholders where required information is missing.

Keep the design consistent with our mobile app.

The last four lines are the important ones. They stop the AI from inventing a company name or claiming legal compliance, and they make it write what the app really does with data (here: no accounts, no network code, data stored on the device).

The landing-page prompt and its rules for the legal drafts
The landing-page prompt and its rules for the legal drafts • 00:38:03

Run it with cd landing-page and npm run dev; the site opens on localhost:3000. The result was a clean page (“Every trip, right in your pocket.”) that reused simulator screenshots, plus Terms of Service and Privacy Policy pages marked as drafts, with placeholders such as [COMPANY LEGAL NAME] and the effective date for you to fill in. Have a qualified person review legal text before you publish it.

The generated Terms of Service draft, with placeholders to fill in
The generated Terms of Service draft, with placeholders to fill in • 00:38:57

Three Ways to Test a Mobile App

Manual testing One AI agent QA Swarm
Who taps the screens You Claude, through the Expo simulator skill and agent-device Several agents, one per flow and platform
Setup None Expo skills installed, a paid Expo plan GitHub repo connected, two secret env vars, a workflow file
Evidence Your memory Screenshots per step, a pass/fail table A report per lane with evidence sites and recordings
Speed for many flows Slowest One flow after another Parallel (the example: 6 lanes in about 30 minutes, including builds)
Best for Tiny apps, quick checks Checking a feature right after building it Regression tests across many screens and both platforms

Final Perspective

The interesting part of this workflow is not that an AI writes the app. It is that the AI can see and use the app it wrote. Cloud simulators remove the hardware barrier (no Mac needed for an iPhone preview), and the agent skills turn the simulator into a test bench the agent can operate on its own. That changes the shape of the work: you describe the app, approve a plan, ask for one layer at a time, and then ask the agent to prove each layer works, with screenshots, before you move on.

The habits that matter: read the plan, keep each prompt to one layer, tell a testing agent not to modify code, paste failures back, keep secrets out of chats and commits, and forbid invented facts in legal pages. For a bigger app you add screens and more lanes to the swarm; the steps stay the same.

Quick Reference

Step Command or prompt
Create the app npx create-expo-app@latest --template default@sdk-58, name: .
Expo skills for Claude Code claude plugin install expo@claude-plugins-official
EAS CLI and project npm install -g eas-cli, eas login, eas init
Check simulator access eas simulator:availability --json
Metro with a tunnel EXPO_UNSTABLE_TUNNEL_V2=1 npx expo start --tunnel
Start a cloud device eas simulator:start --platform ios (or android) --type agent-device ...
Plan prompt Describe app, stack, features; “create a beginner-friendly development plan. Don’t implement anything yet.”
Build prompts UI first, then a polish pass, then “Implement the main functionality …” with validation and lint checks
Agent test prompt “Use the official Expo eas-simulator skill …”, numbered steps, screenshots, evidence, “Do not modify application code”
Claude token for workflows claude setup-token → CLAUDE_CODE_OAUTH_TOKEN (preview environment)
Run QA Swarm eas workflow:run .eas/workflows/qa-swarm.yml --ref master
Landing page Next.js + Tailwind in landing-page/; cd landing-page, npm run dev → localhost:3000

FAQ

Can I really test an iOS app without a Mac?

Yes, for previewing and testing. Expo Simulators run the iOS simulator on Expo’s servers and stream it to your browser, so a Windows or Linux machine works. Building and submitting to the App Store also runs through Expo’s cloud services.

Do I need a paid Expo plan?

Only for cloud simulators. At the time of recording they started with the Starter plan at $19 per month plus usage. The free plan still lets you create the app, run builds and use Expo Go on your own phone, which is enough for demo projects.

Will the AI change my code while testing?

Not if you say so. The test prompt here includes “Do not modify application code during this test”, and the agent only reported a bug instead of fixing it. You then decide whether to ask for the fix.

What is the difference between the single-agent test and QA Swarm?

The single-agent test runs in your current chat on one simulator, one flow after another. QA Swarm is an Expo workflow that runs in the cloud from your GitHub repository, gives each flow on each platform its own agent and simulator, and produces one combined report with evidence and recordings.

Are the AI-written privacy policy and terms ready to publish?

No. They are drafts based on what the app does, with placeholders for your company details. Fill them in and have them reviewed before publishing.

Further Reading and Notes

  • Expo Simulators documentation:
  • Expo agentic workflows setup:
  • Expo QA Swarm:
  • Node.js: and VS Code:

Commands, prompts, plan prices and features are as of November 2026 (Expo SDK 58). Expo Simulators and QA Swarm are new and change quickly, and prices may change, so check them against the current Expo documentation and pricing page.

Claude Code GUIDES

More Claude Code guides

Continue with practical guides about Claude Code.

View all AI Coding guides