Skip to content
Agentmart
Submit a tool

ios-testflight-release

Prepare and ship an iOS build to TestFlight — runs the submission pre-flight checks, fixes the config that blocks uploads/processing, then walks…

Skill by SteveGJones

IndexedMIT★ 41
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/stevegjones-ios-testflight-release

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Prepare and ship an iOS build to TestFlight — runs the submission pre-flight checks, fixes the config that blocks uploads/processing, then walks internal→external beta review. Use when releasing an iOS build to testers.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ios-testflight-release

What's inside

Skill name
ios-testflight-release
Description
Prepare and ship an iOS build to TestFlight — runs the submission pre-flight checks, fixes the config that blocks uploads/processing, then walks internal→external beta review. Use when releasing an iOS build to testers.
License
MIT
Instructions
96 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# iOS TestFlight Release

Get an iOS build onto TestFlight without the classic upload/processing/beta-review blockers. This
skill encodes real incidents (e.g. a build silently never processed because of a missing
`NSMotionUsageDescription` — ITMS-90683) into a **pre-flight → upload → confirm → distribute** flow.

Belongs to the **`ios-release-engineer`** discipline. Run it before every TestFlight upload; the
config checks are cheap and the failures are expensive (a rejected/stalled upload costs a round-trip).

## Arguments

- `path-to-ios-project` — the project directory to check (defaults to the current directory).

## Steps

### 1. Run the pre-flight checks (config that blocks uploads)

Run the bundled checker from the plugin's scripts directory:

```bash
python -m ios_preflight.cli <project-dir> [--uses-push]
```

(Set `PYTHONPATH` to the plugin's `scripts/` dir, or run `python plugins/sdlc-team-ios/scripts/ -m
ios_preflight.cli` from a checkout.) It reports, and you must resolve every **ERROR** before uploading:

- **Missing usage descriptions** — every sensitive framework the app links/uses needs its
  `NS…UsageDescription` purpose string, or App Store Connect rejects the build **in processing**
  (ITMS-90683). The check maps frameworks to keys (CoreMotion→`NSMotionUsageDescription`,
  AVFoundation→`NSCameraUsageDescription`, CoreLocation→`NSLocationWhenInUseUsageDescription`,
  Contacts, Photos, Speech, HealthKit, …). **Rule of thumb: if a permission dialog could appear, the
  string must exist — and be a real human sentence** (Apple rejects placeholder text).
- **Export compliance** — set `ITSAppUsesNonExemptEncryption = false` in Info.plist if the app uses
  only exempt encryption (standard HTTPS). This skips the export-compliance questionnaire on **every**
  upload; without it each build stalls waiting for an answer in ASC.
- **Privacy manifest** — add a `PrivacyInfo.xcprivacy` if you use required-reason APIs (UserDefaults,
  file/disk timestamps, system boot time, disk space) or bundle third-party SDKs; Apple flags builds
  without it.
- **Entitlements** — no `get-task-allow` in a release build; `aps-environment = production` for push.

### 2. Verify release-default safety and versioning (not caught by the plist checks)

- **Build number**: every TestFlight upload needs a **unique, monotonically increasing**
  `CFBundleVersion`, or it's rejected. Adopt a policy and automate it — pre-1.0, keep
  `MARKETING_VERSION` fixed (e.g. `1.0.0`) and stamp `CFBundleVersion` from
  `git rev-list --count HEAD` (optionally plus the short SHA and date) so every tester build is
  **traceable to an exact commit**.
- **Release-default safety**: confirm debug menus, feature flags, verbose logging, staging endpoints,
  and experiment toggles **default OFF in Release** (gate them behind a build config or a flag that's
  off unless explicitly enabled). No secrets/API keys in the bundle — use xcconfig/build settings and
  confirm nothing sensitive is in the archived Info.plist.
- **Build-stamp script gotcha**: if a build-phase script reads git or the environment (e.g. to stamp
  the build number), that target may need `ENABLE_USER_SCRIPT_SANDBOXING = NO` (leave it `YES`
  elsewhere), or the archive fails.

### 3. Confirm signing & capabilities

- Bundle ID, team, and signing are set; **only capabilities you actually use** are enabled (a stray
  entitlement with no matching provisioning profile fails the archive). See `ios-signing-doctor` if
  the archive/signing fails.

### 4. Archive, upload, and **confirm the build actually processes**

- Archive with the Release configuration + distribution profile; upload via Xcode Organizer,
  Transporter, `xcrun altool`/`notarytool` path, the App Store Connect API, or fastlane `pilot`.
- **Do not assume the upload became a build.** Confirm the build appears and finishes processing in
  App Store Connect (TestFlight tab). A processing failure (e.g. a missing purpose string) can leave
  the upload silently never becoming a build — check, don't assume.

### 5. Distribute: internal first, then external + Beta App Review

- **Internal testing first** (up to 100 team members with an ASC role) — **no review**, available
  immediately after processing. This is the fastest first loop; shake out the obvious here.
- **External testing** (up to 10,000 testers) requires **Beta App Review** for the first build of a
  version. Before submitting externally, ensure:
  - **App Privacy** ("nutrition label") is filled in ASC (external review bounces without it),
  - a **privacy policy URL** is live (a public Gist is fine for a simple app),
  - **Beta App Review info**: App Review contact (name/email/phone), a **demo/test account** if there
    is any login, and clear **"What to Test"** notes,
  - a stable way for testers to reach you (feedback email or TestFlight's built-in feedback).
- Builds **expire 90 days** after upload.

### 6. Report

Summarise: pre-flight result (errors fixed), build number + the commit it maps to, whether the build
processed, and which testing track it went to. If anything is unresolved (e.g. App Privacy not yet
filled), say so explicitly rather than implying the external release is ready.

## Notes

- Apple renames tooling and renumbers guidelines often — treat exact ITMS/guideline numbers as
  version-sensitive and re-verify against developer.apple.com if a message doesn't match.
- Internal vs external is the key sequencing lever: internal is instant (no review); external needs the
  metadata above. Get internal working first.

From SteveGJones/ai-first-sdlc-practices, MIT.

More from SteveGJones/ai-first-sdlc-practices

Signals

Stars
41
Forks
6
Open issues
37
Last commit (this folder)
Jul 23, 2026 (3 months ago)
Last release
Aug 10, 2025 (1 year ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from SteveGJones

Cite this page

ios-testflight-release skill. Agent Mart. https://agentmart.dev/skills/stevegjones-ios-testflight-release (last updated 2026-10-24)