Skip to content
Back to skills

Ship Expo Cloud

ASecurity

EAS cloud build and submit pipeline for the Threadbase iOS app. ONLY invoke this skill when the user explicitly types /ship-expo-cloud. Never trigger automatically on "ship", "TestFlight", or general release requests — those go to /expo-local-ship instead. Before running any EAS command, confirm with the user and wait for explicit approval.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
developmentgobashtestinggit

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add RonenMars/threadbase-mobile --skill ship-expo-cloud --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ship Expo Cloud?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ship Expo Cloud
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ronenmars-ship-expo-cloud/badge)](https://www.skillsdirectory.com/skills/ronenmars-ship-expo-cloud)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ship-expo-cloud
description: >
  EAS cloud build and submit pipeline for the Threadbase iOS app. ONLY invoke
  this skill when the user explicitly types /ship-expo-cloud. Never trigger
  automatically on "ship", "TestFlight", or general release requests — those
  go to /expo-local-ship instead. Before running any EAS command, confirm with
  the user and wait for explicit approval.
---

# Expo Deploy

End-to-end build and release pipeline for the Threadbase iOS app using EAS (Expo Application Services).

## Project Quick Reference

| Key | Value |
|-----|-------|
| Bundle ID | `com.ronenmars.threadbase` |
| ASC App ID | `6762130307` |
| EAS Project ID | `35430e75-2718-4261-a46c-d6f6ff1e27c3` |
| Owner | `ronenmars` |
| Slug | `threadbase-mobile` |
| Version source | Remote (EAS-managed) |
| Auto-increment | Production builds only |

## Workflow Overview

There are four main workflows, each available via CLI or web dashboard:

1. **Build** — compile the app on EAS servers
2. **Monitor** — track build progress and retrieve artifacts
3. **Submit to TestFlight** — send a build to App Store Connect for beta testing
4. **Release to App Store** — promote a TestFlight build to production

The typical release flow is: **pre-ship checks** -> **Build** -> **Monitor** -> **Submit to TestFlight** -> test -> **Release to App Store**.

---

## 0. Pre-ship checks (mandatory)

Before any `eas build`, run the same gating checks as `/expo-local-ship`.
The rules are canonical and shared — see
[`../_shared/pre-ship-checks.md`](../_shared/pre-ship-checks.md) for the
full rationale and rules.

The two scripts in `scripts/` enforce them:

```bash
# 1. Branch sanity, no uncommitted app.json, local main synced with origin/main.
./scripts/git-sync-check.sh

# 2. Source signing creds (asc-jwt.sh needs them) then reconcile buildNumber.
source .env.signing
./scripts/check-build-number.sh
```

Run both before `eas build --profile production`. EAS minutes are
expensive — failing fast on a stale base (or a build number that's
already taken in TestFlight) saves a 15-minute wasted cloud build.

If `check-build-number.sh` auto-bumps `app.json`, **commit the bump
before** running `eas build`. Cloud builds capture the working tree at
build-start time; an uncommitted bump means the version that ships
won't match what's in git.

```bash
# After the pre-ship scripts pass and any auto-bump is committed:
eas build --platform ios --profile production
```

---

## 1. Build

### CLI

```bash
# Production build (App Store / TestFlight)
eas build --platform ios --profile production

# Preview build (internal distribution, no App Store)
eas build --platform ios --profile preview

# Development build (dev client with hot reload)
eas build --platform ios --profile development

# Android production build
eas build --platform android --profile production
```

After running `eas build`, EAS prints a build URL like:
```
https://expo.dev/accounts/ronenmars/projects/threadbase-mobile/builds/<build-id>
```
Save this URL — it's how you track the build.

**Flags worth knowing:**
- `--auto-submit` — automatically submit to the App Store when the build finishes
- `--no-wait` — start the build and return immediately (don't block the terminal)
- `--message "description"` — attach a note to the build for your team
- `--clear-cache` — force a clean build (useful when native deps change)

### Web Dashboard

1. Go to [expo.dev](https://expo.dev) -> sign in as `ronenmars`
2. Open project **threadbase-mobile**
3. Click **Builds** in the sidebar
4. Click **Build from GitHub** or trigger manually
5. Select platform (iOS) and profile (production/preview/development)

---

## 2. Monitor Build

### CLI

```bash
# List recent builds (shows status, profile, platform)
eas build:list

# View a specific build by ID
eas build:view <build-id>

# Stream build logs in real time (blocks until complete)
# The URL printed by `eas build` opens the log viewer in browser
```

Build statuses: `new` -> `in-queue` -> `in-progress` -> `finished` (or `errored`/`cancelled`).

**Polling a build until it finishes:**
```bash
# Check status of the most recent iOS production build
eas build:list --platform ios --status finished --limit 1
```

### Web Dashboard

1. Go to [expo.dev](https://expo.dev) -> **threadbase-mobile** -> **Builds**
2. Each build shows real-time status, logs, and duration
3. Once finished, click the build to download the `.ipa` (iOS) or `.apk`/`.aab` (Android)

---

## 3. Submit to TestFlight

Submitting sends the built `.ipa` to App Store Connect. From there, Apple processes it (5-30 minutes), and it appears in TestFlight for beta testers.

### CLI

```bash
# Submit the most recent production iOS build
eas submit --platform ios --profile production --latest

# Submit a specific build by ID
eas submit --platform ios --profile production --id <build-id>

# Submit a specific build by URL
eas submit --platform ios --profile production --url <build-url>
```

The `--latest` flag grabs the most recent successful build for the given profile and platform.

**Combine build + submit in one step:**
```bash
eas build --platform ios --profile production --auto-submit
```

After submission, Apple processes the build. Track processing status in App Store Connect (see web workflow below).

### Web Dashboard

**Option A — Via Expo Dashboard:**
1. Go to **Builds** -> click the finished production build
2. Click **Submit to App Store** (if the button is available)

**Option B — Via App Store Connect (manual upload):**
1. Download the `.ipa` from the Expo build page
2. Open **Transporter** app (free from Mac App Store)
3. Drag the `.ipa` into Transporter and click **Deliver**
4. Wait for Apple processing (5-30 min)

**Option C — Via App Store Connect web:**
1. Go to [appstoreconnect.apple.com](https://appstoreconnect.apple.com)
2. Open **Threadbase** (App ID: `6762130307`)
3. Go to **TestFlight** tab
4. The build will appear once Apple finishes processing

**After the build arrives in TestFlight:**
- Add internal testers (your team) or external test groups
- For external testing, Apple requires a brief review (~24h first time, faster after)
- Share the TestFlight link with testers

---

## 4. Release to App Store (Production)

There is no fully-automated CLI path to the App Store — Apple requires manual metadata review and submission through App Store Connect. Here's the full process:

### Pre-submission (CLI can help)

```bash
# Verify the build exists and is in "finished" state
eas build:list --platform ios --profile production --status finished --limit 1

# If not already submitted to ASC, submit it
eas submit --platform ios --profile production --latest
```

### App Store Connect (required for all releases)

1. Go to [appstoreconnect.apple.com](https://appstoreconnect.apple.com)
2. Open **Threadbase** -> **App Store** tab
3. Click **"+" Version or Platform** in the sidebar to create a new version (e.g., 1.1.0)
4. Fill in / update:
   - **What's New** — release notes for this version
   - **Screenshots** — required on first release, update if UI changed
   - **Description, Keywords, Support URL** — update if needed
   - **Build** — click the "+" next to Build and select the submitted build
5. Under **App Review Information**, verify contact info and demo account if needed
6. Click **Submit for Review**

Apple review typically takes 24-48 hours. You'll get an email when approved.

**After approval:**
- If you chose **Manual Release**, go back to App Store Connect and click **Release This Version**
- If you chose **Automatic Release**, it goes live as soon as it's approved

### Version Management

EAS handles version auto-increment for production builds (configured in `eas.json`). The version source is `remote`, meaning EAS tracks the current build number server-side.

```bash
# Check current version info
eas build:version:get --platform ios

# Manually set version (rarely needed)
eas build:version:set --platform ios --build-number <N>
```

---

## Troubleshooting

Read `references/troubleshooting.md` for common issues like:
- Build failures (provisioning, signing, native deps)
- Submission rejections (metadata, compliance, screenshots)
- TestFlight processing stuck
- Version/build-number conflicts

---

## Full Release Checklist

Use this checklist when doing a production release:

1. [ ] All tests pass locally and in CI
2. [ ] **Pre-ship checks** (`./scripts/git-sync-check.sh` then
       `source .env.signing && ./scripts/check-build-number.sh`).
       See [`../_shared/pre-ship-checks.md`](../_shared/pre-ship-checks.md).
3. [ ] Commit any auto-bumped `app.json` *before* triggering EAS
4. [ ] Version bump (if needed beyond auto-increment)
5. [ ] `eas build --platform ios --profile production`
6. [ ] Monitor build until `finished`
7. [ ] `eas submit --platform ios --profile production --latest`
8. [ ] Wait for Apple processing in App Store Connect
9. [ ] Verify build in TestFlight — install and smoke test
10. [ ] Create new version in App Store Connect
11. [ ] Write release notes, attach build, update screenshots if needed
12. [ ] Submit for App Review
13. [ ] After approval: release (manual or automatic)

Files in this skill

  • SKILL.md9 KB
  • evals/evals.json3.3 KB
  • references/troubleshooting.md4.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.