Skip to main content
Mobile app creation requires a Replit Core or Replit Teams plan.

What you’ll do

In this tutorial, you’ll:
  • Create a mobile app from a prompt with Agent
  • Preview it on your phone with Expo Go
  • Publish an iOS build to TestFlight
  • Submit that build to the App Store
Apple sets the requirements for TestFlight and App Store submissions. You’ll use App Store Connect to manage testing and releases.

What you’ll need

  • A Replit account with access to mobile apps
  • A phone with Expo Go installed
  • An Apple Developer Program membership (required by Apple for TestFlight and the App Store)

Part 1: Build your app with Agent

1

Create a mobile app

On the Replit home screen, describe what you want to build, then select Mobile app as the app type.
2

Let Agent build

Agent scaffolds your project and builds your first version. Keep the chat open to follow progress and request changes.

Part 2: Test on your phone with Expo Go

Expo Go runs a native preview of your app on your device.
1

Install Expo Go

Install Expo Go on your iPhone or Android device.
2

Open the QR code

In your Workspace, select Preview on mobile device to display a QR code.
3

Scan and preview

Scan the QR code with your phone to open a native preview in Expo Go.
Mobile app running in the Replit Workspace preview with the Preview on device panel and QR code
If your preview looks out of date, refresh in Expo Go. On your device, shake your phone to open the developer menu, then select Refresh.

Part 3: Publish to TestFlight

Publishing to the App Store starts with TestFlight. Use it to test on real devices, gather feedback, and fix issues before you release publicly.

Apple publishing prerequisites

Join the Apple Developer Program

You need an Apple Developer Program membership to publish to TestFlight and submit to the App Store.
Apple requires two-factor authentication on your Apple Account.

Individual vs. organization enrollment

  • Individual accounts: Publish under your legal name as the seller.
  • Organization accounts: Publish under the organization name as the seller. Apple requires a D‑U‑N‑S Number for organizations, which can take time to obtain.

Typical enrollment steps

  1. Sign in at https://developer.apple.com/programs/enroll/
  2. Complete identity verification
  3. Accept the Apple Developer Program license agreement
  4. Pay the annual fee set by Apple
  5. Wait for Apple approval (time varies by account type)

Understand TestFlight vs. the App Store

TestFlight is Apple’s beta testing system. The App Store is the public marketplace where anyone can download your app.
AspectTestFlightApp Store
AudienceInvited testers (up to 10,000 external testers)Public
PurposeBeta testing and feedbackPublic release
ReviewFirst build of a version goes through beta reviewEvery submission goes through App Review
Build lifetimeExpires after 90 daysPermanent until you remove it
TestFlight is the fastest way to catch crashes, performance issues, and device-specific problems before launch.
1

Publish from your Workspace

Open the publishing pane and select Publish to prepare your app and backend for distribution.
2

Select App Store publishing

In the publishing pane, select Publish to App Store.
3

Connect Apple and submit

Sign in with your Apple Developer account when prompted. The native build runs in the cloud and submits to TestFlight.
Publishing pane in the Replit Workspace with options for publishing to the App Store
The first build of a version typically requires a TestFlight beta review. After approval, you can usually push additional builds to testers faster.

Enable external testing

To share your TestFlight build with other people, configure external testing in App Store Connect:
  1. In App Store Connect, open your app.
  2. Go to TestFlight, then External Testing.
  3. Create a testing group and add your build.
  4. Submit for Beta App Review (required by Apple for external testers).
  5. Share the public TestFlight link after approval.

Part 4: Submit to the App Store

When your build is ready for release, submit it through App Store Connect:
  1. In App Store Connect, open your app.
  2. Go to the App Store tab.
  3. Fill out required metadata (description, screenshots, category, pricing, and privacy details).
  4. Select your TestFlight build to promote.
  5. Submit for review.

Complete your App Store Connect listing

Replit creates your app listing in App Store Connect, but you still need to complete required metadata before Apple will accept a submission.

Common required fields

  • App name and subtitle
  • Category (primary, optional secondary)
  • Pricing and availability (free or paid, and regions)
  • Privacy policy URL (publicly accessible)
  • App Privacy details (data collection “nutrition labels”)
  • Screenshots (required)
  • Support URL (required)
  • App Review contact information (required)
If your app requires sign-in, add demo credentials for App Review in App Store Connect so Apple can test your app.

Privacy requirements

Apple requires you to:
  • Provide a public privacy policy URL
  • Declare your App Privacy data practices (including third-party SDKs and services you use)
If you use third-party services (analytics, payments, crash reporting, ads), review their privacy disclosures and include them in your App Privacy answers.

Screenshots

Screenshots are required and strongly influence conversion on the App Store.
Use real screenshots from your app. Make sure screenshots match the current build you’re submitting.

Common rejection reasons

IssueHow to avoid it
Crashes or obvious bugsTest on TestFlight first and fix issues before submission
Missing privacy policyAdd a public privacy policy URL before submission
Screenshots don’t match the appUpload screenshots from the current build
Reviewers can’t access the appProvide demo credentials and instructions in review notes
Incomplete or placeholder contentRemove “coming soon” flows and incomplete screens
Permission prompts lack contextExplain why you need camera, location, or other permissions

Timelines to expect

StageTypical duration
Apple Developer Program approvalVaries (often 1–2 days for individuals; longer for organizations)
Build processing in App Store ConnectOften 10–15 minutes
TestFlight beta review (first build of a version)Often about a day
App Store reviewOften 1–2 days

Updating your app after launch

  • UI and content updates: Publish again to ship updates quickly.
  • Native changes (for example, app icons or permissions): Submit a new App Store build.

Checklist

Before you publish

  • You can run the app on a real device
  • Your app has no obvious crashes or broken flows
  • You know whether your Apple account is individual or organization

Before you submit to the App Store

  • App Store Connect metadata is complete (name, category, regions, and support URL)
  • Privacy policy URL is public and accurate
  • App Privacy details are complete (including third-party services)
  • Screenshots are uploaded and match the submitted build
  • App Review contact info is set
  • Demo credentials are provided (if your app requires sign-in)

Next steps