ablevarghese/ios-claude-toolkit/velocity-fastlane

Claude Code and agent skill by ablevarghese/ios-claude-toolkit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Build and upload, send to testers, TestFlight, sign the app, release to App Store. Fastlane lane execution for iOS build, test, and distribution automation — test suites, code signing with Match, TestFlight uploads, App Store submissions. Trigger on: 'deploy a build', 'upload to TestFlight', 'fix code signing', 'provisioning profile', 'run the test suite via Fastlane', 'archive the app', 'distribute to beta testers', or any build/sign/ship workflow. For CI/CD pipeline YAML configuration, use pipeline-cicd instead.

Install

npx vskill@latest install ablevarghese/ios-claude-toolkit/velocity-fastlane

SKILL.md

The same SKILL.md was published earlier as ablevarghese/ios-claude-toolkit/velocity-fastlane.

VELOCITY - Fastlane & Mobile DevOps

Iron Law: "Never deploy without running the full test suite first. A fast broken release costs more than a slow correct one."

Execute Fastlane lanes for testing, building, code signing, and distribution. Manage Match certificates, upload to TestFlight, and submit to the App Store.

Project Discovery: Before executing, determine project-specific values (project name, scheme, bundle ID, target) from project configuration files (CLAUDE.md, project.yml, .xcodeproj, Package.swift). These are referred to as {PROJECT} (Xcode project name), {SCHEME} (build scheme), and {BUNDLE_ID} (app identifier) throughout this skill.

Rationalizations (Do Not Skip)

RationalizationWhy It's WrongRequired Action
"I'll just build manually in Xcode"Manual builds are unreproducible. Different machines, different Xcode settings, different signing identities. When the build breaks, you can't diff what changed.Automate with Fastlane. Every build should be a single command that produces identical results regardless of who runs it.
"Code signing is too complex to automate"Code signing is complex precisely because people manage it manually. Certificates expire, profiles conflict, team members overwrite each other's signing identities. Match eliminates all of this.Set up Match once. It stores certificates in an encrypted git repo. Every team member syncs from the same source. Problem solved permanently.
"I don't need CI for this project"You do. Even solo projects benefit from CI. It catches issues your local build misses: stale caches, missing files not in git, environment-specific failures. The first time CI catches a broken build you would have shipped, it pays for itself.Set up a basic PR validation workflow (build + test). Takes 15 minutes. Saves hours.
"Manual upload to TestFlight is faster for now""For now" becomes "forever." Manual upload means: open Xcode, wait for archive, wait for validation, wait for upload, wait for processing, then go to App Store Connect to manage testers. Fastlane does all of this in one command.fastlane beta. One command. Walk away. Get a Slack notification when it's done.
"I'll automate code signing later"Later never comes, and in the meantime, every new team member spends a day fighting code signing. Every certificate expiration is a fire drill. Every new device requires manual profile updates.Set up Match today. The cost is 30 minutes now. The cost of "later" is 30 minutes every team member every incident.
"We can skip tests for this hotfix"Hotfixes are the most dangerous deploys because they're rushed. Skipping tests on the one build type most likely to have bugs is exactly backwards. A 5-minute test suite is not the bottleneck.Run the full test suite. If it takes too long, optimize the test suite -- don't skip it.
"Build numbers don't matter, I'll increment manually"Manual build numbers lead to conflicts, rejected uploads (duplicate build number), and inability to trace which commit produced which build.Automate build number management. Use CI build number, or increment_build_number in Fastlane.

Red Flags -- STOP

  • Manually managing certificates and provisioning profiles -- If anyone on the team has downloaded certificates from the Apple Developer portal manually, stop. Set up Match. Manual certificate management is the #1 cause of "it builds on my machine but not yours."
  • Uploading a build without running tests first -- No exceptions. Not for hotfixes, not for "just a copy change," not for demos. The test suite exists to catch exactly the bugs you're sure aren't there.
  • Skipping code signing automation for multi-developer teams -- Two developers with different signing identities = revoked certificates, broken builds, and mutual blame. Match eliminates this entire class of problems.
  • Hardcoded build numbers in the project -- Build numbers must be automated. Hardcoded build numbers lead to App Store Connect rejection ("build already exists") and make it impossible to trace builds to commits.
  • Using `gym` without `clean: true` for release builds -- Incremental builds for release can include stale artifacts. Always clean build for anything that leaves your machine.

Behavioral Enforcement

Phase Gate: TEST BEFORE DEPLOY (No Exceptions)

Cannot build for distribution until:

  • [ ] Full test suite has been run
  • [ ] All tests pass (zero failures)
  • [ ] No test was skipped or disabled to make the suite pass

This applies to ALL builds: beta, release, hotfix. Especially hotfixes -- they're the most rushed and the most likely to have bugs. "Just this once" is how broken builds reach users.

Hard Stop: If about to run fastlane beta or fastlane release without running tests -- STOP. The Iron Law exists because the one time you skip tests is the one time there's a bug.

Phase Gate: CODE SIGNING

Cannot proceed with signing until:

  • [ ] Match is the signing mechanism (not manual certificates)
  • [ ] Correct provisioning profile type selected for build type (development/ad-hoc/appstore)
  • [ ] Bundle ID matches the profile
Fix Attempt Tracking
  • Build fails #1: Read the error. Common: missing profile, wrong scheme, missing env var.
  • Build fails #2: Check signing identity, clean DerivedData, verify Xcode version.
  • Build fails #3: STOP. fastlane match nuke + fastlane match appstore. Nuclear option is faster than debugging a corrupted signing state.
Self-Audit
  1. Did I run the full test suite before building?
  2. Is the build signed with Match (not manual certificates)?
  3. Did the build number increment correctly?
  4. Can another team member reproduce this build with the same command?
Required Output Artifact

Every distribution build must produce:

  • Test suite results (pass count, fail count, skip count -- skip must be zero)
  • Build artifact (.ipa) with correct signing identity
  • Build number and version number confirmation
  • Upload confirmation (TestFlight processing status or App Store Connect receipt)

When NOT to Use This Skill

  1. Xcode project configuration and build settings -- Fastlane automates build execution, not build configuration. For .xcodeproj settings, project.yml (XcodeGen), or Package.swift changes, work directly in those files.
  2. Writing or debugging tests -- This skill runs tests. For writing test code, fixing failing tests, or designing test architecture, work in the test source files directly.
  3. App Store Connect metadata and screenshots -- While Fastlane can manage metadata via deliver, the initial setup and screenshot generation require dedicated effort. For screenshot automation, use snapshot as a separate workflow.
  4. CI/CD pipeline configuration -- This skill runs Fastlane lanes. For GitHub Actions workflow YAML, caching strategies, and CI environment setup, use the pipeline-cicd skill.

Decision Framework

What do I need to do?
+-- Build the app?
| |
| +-- For development/debugging? --> Not Fastlane. Use Xcode directly.
| +-- For distribution (any kind)? -->
| |
| +-- Who is the audience?
| +-- Internal testers --> `fastlane build_dev` (development signing)
| +-- External testers --> `fastlane beta` (TestFlight, app store signing)
| +-- App Store review --> `fastlane release` (app store signing)
| +-- Ad-hoc (specific devices) --> `fastlane build_adhoc`
|
+-- Run tests?
| |
| +-- Quick validation? --> `fastlane test_unit` (~1 min)
| +-- Before merging PR? --> `fastlane test_comprehensive` (all test types)
| +-- Performance baseline? --> `fastlane test_performance`
|
+-- Fix code signing?
| |
| +-- Missing profiles? --> `fastlane match development` or `fastlane match appstore`
| +-- Certificate expired? --> `fastlane match appstore --force`
| +-- Complete mess? --> `fastlane match nuke distribution` then `fastlane match appstore`
| +-- New device for ad-hoc? --> `fastlane match adhoc --force_for_new_devices`
|
+-- Release to users?
|
+-- Beta (TestFlight)?
| 1. Run tests: `fastlane test_comprehensive`
| 2. Bump version if needed: `fastlane bump_patch` (or minor/major)
| 3. Build and upload: `fastlane beta`
|
+-- Production (App Store)?
1. Run tests: `fastlane test_comprehensive`
2. Bump version: `fastlane bump_minor` (or major)
3. Build, upload, submit: `fastlane release`
4. Monitor: App Store Connect for review status

Standard Operating Procedures

SOP-1: Run Test Suite
bash
# Full test suite (unit + integration + e2e + security + performance)
fastlane test_comprehensive
# Individual test categories
fastlane test_unit # Pure logic, services, utilities (~1 min)
fastlane test_integration # API + mock dependencies (~2 min)
fastlane test_e2e # Full user flows (~3 min)
fastlane test_security # Auth, encryption, keychain tests
fastlane test_performance # Performance baselines
# Run tests with coverage report
fastlane test_comprehensive # coverage enabled by default in Fastfile
# Run specific test class (for debugging a single failure)
# Use xcodebuild directly -- Fastlane is for full suite runs
xcodebuild test \
-project "{PROJECT}.xcodeproj" \
-scheme "{SCHEME}" \
-destination "platform=iOS Simulator,name=iPhone 16" \
-only-testing:"{SCHEME}Tests/UserServiceTests"

Why `test_comprehensive` before every deploy: Each test category catches different classes of bugs. Unit tests catch logic errors. Integration tests catch API contract violations. E2E tests catch navigation and flow issues. Skipping any category means shipping with blind spots. The 5 minutes it takes is always shorter than the hours a production bug costs.

SOP-2: Build for Distribution
bash
# Development build (for internal testing, development signing)
fastlane build_dev
# Release build (optimized, app store signing, clean build)
fastlane build_release
# Ad-hoc build (for specific registered devices)
fastlane build_adhoc
# Key parameters in the Fastfile:
# build_app(
# project: "{PROJECT}.xcodeproj",
# scheme: "{SCHEME}",
# clean: true, # Always clean for distribution
# export_method: "app-store", # or "development", "ad-hoc"
# output_directory: "./build",
# include_bitcode: false, # Bitcode deprecated in Xcode 14+
# include_symbols: true, # Always include for crash symbolication
# )
SOP-3: Upload to TestFlight
bash
# Build and upload in one step
fastlane beta
# This lane typically:
# 1. Syncs signing certificates (match appstore)
# 2. Increments build number
# 3. Builds the app (clean, release config)
# 4. Uploads to TestFlight
# 5. Optionally notifies testers
# Upload only (if build artifact already exists)
fastlane upload_testflight
# What happens during upload:
# - Binary is validated against App Store requirements
# - App is uploaded to Apple's servers
# - Apple processes the build (5-30 minutes)
# - Build appears in TestFlight for distribution
# - External testers require beta review (first build per version)

Post-upload checklist:

  1. Check App Store Connect for processing status
  2. Verify build appears in TestFlight
  3. For external testers: check if beta review is required
  4. Add build to the appropriate test group
  5. Add "What to Test" notes for testers
SOP-4: Code Signing with Match
bash
# Sync development certificates (for building on devices)
fastlane match development
# Sync App Store distribution certificates (for TestFlight and App Store)
fastlane match appstore
# Sync ad-hoc certificates (for enterprise/device-specific distribution)
fastlane match adhoc
# Force regenerate (when certificates expire or are revoked)
fastlane match appstore --force

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ablevarghese/ios-claude-toolkit/velocity-fastlane/badge)](https://verified-skill.com/skills/ablevarghese/ios-claude-toolkit/velocity-fastlane)

Something wrong with this skill or its page? Tell us.