> ## Documentation Index
> Fetch the complete documentation index at: https://docs.viral-app.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Build & Submit

> Create production build and submit to App Store

# Build & Submit to App Store

Time to get your app live!

## Prerequisites

<Check>Apple Developer account approved</Check>
<Check>App created in App Store Connect</Check>
<Check>Subscriptions configured</Check>

## Step 1: Configure EAS Submit

Update `eas.json` with your Apple credentials:

```json theme={null}
{
  "submit": {
    "production": {
      "ios": {
        "appleId": "your@email.com",
        "ascAppId": "123456789",
        "appleTeamId": "XXXXXXXXXX"
      }
    }
  }
}
```

## Step 2: Build

```bash theme={null}
npm run build:prod
```

Takes 10-20 minutes.

## Step 3: Submit

```bash theme={null}
npm run submit
```

## Step 4: Complete App Store Listing

In [App Store Connect](https://appstoreconnect.apple.com):

1. Add screenshots
2. Write description
3. Select your build
4. Click **Submit for Review**

## Build Profiles

| Profile       | Command              | Purpose                |
| ------------- | -------------------- | ---------------------- |
| `development` | `npm run build:dev`  | Testing with dev tools |
| `production`  | `npm run build:prod` | App Store release      |

## What's Next?

<CardGroup cols={2}>
  <Card title="App Store Checklist" icon="list-check" href="/app-store/checklist">
    Complete requirements for submission
  </Card>

  <Card title="Configure Payments" icon="credit-card" href="/modules/payments">
    Set up subscriptions
  </Card>
</CardGroup>
