/fastlane-skill:match [--readonly] [--type development|appstore|adhoc]from fastlane-skill
Sets up Fastlane Match to manage iOS code signing certificates and provisioning profiles in a shared Git repository, enabling team sharing and CI/CD readiness.
Ships in fastlane-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Set up Fastlane Match to manage iOS code signing certificates and provisioning profiles in a shared Git repository.
if grep -qE "^[[:space:]]*gem[[:space:]]+.fastlane." Gemfile 2>/dev/null; then echo "Gemfile pins fastlane here, so run every fastlane command below as bundle exec fastlane (a bare fastlane runs $(command -v fastlane || echo nothing), not the pinned copy)."; [ "$(command -v ruby)" = /usr/bin/ruby ] && echo "⚠ System Ruby is first on PATH and bundler fails under it. Prefix each command with PATH=/opt/homebrew/opt/ruby/bin:\$PATH, or run /setup-fastlane to check the setup."; elif command -v fastlane >/dev/null; then echo "✓ $(command -v fastlane) (no Gemfile in this folder)"; else echo "✗ Not found, and no Gemfile in this folder. Install: brew install fastlane"; fi; truels fastlane/Fastfile 2>/dev/null && echo "✓ Found" || echo "✗ Not found - run /setup-fastlane first"ls fastlane/Matchfile 2>/dev/null && echo "✓ Already configured" || echo "○ Not configured yet"git --version 2>/dev/null | head -1 || echo "✗ Git not installed"Match stores your iOS certificates and provisioning profiles in a private Git repository, encrypted with a passphrase. Benefits:
Create a private repository to store your encrypted certificates:
# GitHub CLI (recommended)
gh repo create certificates --private
# Or manually at github.com/new (select Private)
Repository naming conventions:
certificates or ios-certificatesfastlane-certs{company}-signingSecurity: This repo will contain encrypted certificates. Keep it private and limit access to team members who need to build the app.
Run match init to create your Matchfile. If the project has a Gemfile, run every command on
this page as bundle exec fastlane … so the version in Gemfile.lock runs.
fastlane match init
When prompted:
git[email protected]:yourorg/certificates.git)This creates fastlane/Matchfile:
git_url("[email protected]:yourorg/certificates.git")
storage_mode("git")
type("development") # Default type, can be overridden per-lane
# app_identifier(["com.yourcompany.app"]) # Optional: limit to specific apps
# username("[email protected]") # Optional: Apple ID
Generate certificates for each distribution type:
fastlane match development
fastlane match appstore
fastlane match adhoc
First run prompts:
Important: Save the passphrase in a password manager. You'll need it for CI/CD and new team members.
Update your lanes to use Match before building:
default_platform(:ios)
platform :ios do
desc "Sync all certificates"
lane :sync_signing do
match(type: "development")
match(type: "appstore")
end
desc "Install signing assets on CI (read-only)"
lane :certificates do
setup_ci # temp keychain on CI; no-op locally
match(type: "appstore", readonly: true)
end
desc "Build for TestFlight"
lane :beta do |options|
setup_ci # temp keychain on CI; no-op locally
match(type: "appstore", readonly: true)
increment_build_number unless options[:skip_build_increment]
gym(scheme: "YourApp", export_method: "app-store")
pilot(skip_waiting_for_build_processing: true)
end
desc "Build for App Store"
lane :release do
setup_ci # temp keychain on CI; no-op locally
match(type: "appstore", readonly: true)
increment_build_number
gym(scheme: "YourApp", export_method: "app-store")
deliver(submit_for_review: false, force: true)
end
end
Key pattern: Use readonly: true in build lanes to prevent accidental certificate regeneration.
CI keychain: setup_ci creates a temporary keychain on CI runners (and is a no-op locally) so match can import certs without keychain-permission errors. Call it before match in any lane that runs on CI.
New team members run:
# Clone and decrypt existing certificates (readonly)
fastlane match development --readonly
fastlane match appstore --readonly
They'll need:
Readonly mode ensures they can't accidentally revoke or regenerate certificates.
Set these environment variables in your CI/CD system:
# Required
MATCH_PASSWORD="your-match-passphrase"
MATCH_GIT_URL="[email protected]:yourorg/certificates.git"
# For App Store Connect (choose one method)
# Method 1: App-specific password
FASTLANE_USER="[email protected]"
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD="xxxx-xxxx-xxxx-xxxx"
# Method 2: API Key (recommended for CI)
APP_STORE_CONNECT_API_KEY_KEY_ID="ABC123"
APP_STORE_CONNECT_API_KEY_ISSUER_ID="xyz-xyz-xyz"
APP_STORE_CONNECT_API_KEY_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----"
- name: Install certificates
run: fastlane ios certificates # runs setup_ci + match(readonly: true)
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_GIT_URL: ${{ secrets.MATCH_GIT_URL }}
Add to ci_scripts/ci_post_clone.sh:
# Install Fastlane and sync certificates
brew install fastlane
fastlane ios certificates # setup_ci + match(readonly: true)
# Projects with a Gemfile: use the pinned fastlane instead of Homebrew's
# bundle install && bundle exec fastlane ios certificates
Set MATCH_PASSWORD in Xcode Cloud environment variables.
Wrong passphrase. Verify MATCH_PASSWORD is correct.
Run fastlane match appstore (without --readonly) to generate profiles.
Someone revoked certs in Apple Developer portal. Regenerate:
fastlane match nuke development # Removes all development certs
fastlane match development # Regenerates
Specify team in Matchfile:
team_id("ABCD1234")
Register the app first (SKU and username are required):
fastlane produce create -u [email protected] -a com.yourcompany.app -n "Your App Name" --sku YOUR_SKU
# Setup
fastlane match init # Create Matchfile
fastlane match development # Generate dev certs
fastlane match appstore # Generate App Store certs
fastlane match adhoc # Generate Ad Hoc certs
# Team use (readonly - won't modify certs)
fastlane match development --readonly
fastlane match appstore --readonly
# Maintenance
fastlane match nuke development # Revoke all dev certs
fastlane match nuke distribution # Revoke all dist certs
fastlane match change_password # Change encryption passphrase
# Debugging
fastlane match development --verbose # Detailed output
match change_passwordfastlane/
└── Matchfile # Match configuration
# In your certificates repo:
certs/
├── development/ # Development certificates
└── distribution/ # App Store/Ad Hoc certificates
profiles/
├── development/ # Development provisioning profiles
├── appstore/ # App Store provisioning profiles
└── adhoc/ # Ad Hoc provisioning profiles
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
greenstevester-fastlane-skill@cascade-code-devops-misc-2 is listed by joshuarweaver/cascade-code-devops-misc-2 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-devops-misc-2 --plugin greenstevester-fastlane-skill5 skills in this plugin
/betaBuild and upload iOS app to TestFlight/releaseSubmit iOS app to App Store for review/setup-fastlaneSet up Fastlane for an iOS or macOS app, or check that an existing Fastlane setup still works. Use this whenever a project has a fastlane/Fastfile, Gemfile or Gemfile.lock and the task touches them, even if nobody says "setup". That covers testing a dependency-bot pull request (Dependabot, Renovate) that bumps a gem in Gemfile.lock, any Gemfile or Gemfile.lock change, reinstalling bundler, bundler errors (Bundler::GemNotFound, "extensions are not built", "Could not find 'bundler'"), `bundle exec fastlane` failing, and fastlane that won't load or won't list its lanes. Also use it for a first-time setup that installs fastlane, writes the Appfile and Fastfile, and finds the app's bundle ID and team ID./snapshotAutomate App Store screenshot capture across devices and languages2 plugins in one repository ship this exact skill · first indexed Nov 26, 2026
Other plugins' skills for the same job