Code signingiOS
Last updated 2026-10-07
Choose how the framework signs your IPA with ios.signing.method. If you are new to iOS signing, read fastlane's code signing guide first.
| method | What happens | You need |
|---|---|---|
automatic default | xcodebuild -allowProvisioningUpdates with the App Store Connect API key creates/downloads the distribution certificate and profile | API key with Admin (or App Manager + cloud-managed certificates) role, APPLE_TEAM_ID |
match | sync_code_signing installs certs/profiles from a private Git repo | MATCH_GIT_URL, MATCH_PASSWORD, an initialised match repo (bundle exec fastlane match appstore once) |
Create the App Store Connect API key
- 1In App Store Connect open Users and Access → Integrations → App Store Connect API (Apple guide).
- 2Generate a Team key with the Admin role (needed for automatic signing).
- 3Download
AuthKey_XXXXXXXXXX.p8. It can be downloaded only once. Note the Key ID and the Issuer ID shown above the table.
Initialise match (match only)
my-app — zsh
~/my-app $ bundle exec fastlane match appstore[✔] 🚀Successfully loaded '/Users/you/my-app/fastlane/Matchfile' 📄? Passphrase for Match storage:Cloning remote git repo...All required keys, certificates and provisioning profiles are installed 🙌Official documentation
- fastlaneCode signing guidedocs.fastlane.tools/codesigning/getting-started/
- fastlanematch: share certificates and profilesdocs.fastlane.tools/actions/match/
- fastlaneUsing the App Store Connect API keydocs.fastlane.tools/app-store-connect-api/
- AppleCreating API keys for App Store Connect APIdeveloper.apple.com/documentation/appstoreconnectapi/creating-api-keys-for-app-store-connect-api
Was this helpful?