Skip to content

Provisioning

provisioning

Download development certificate and provisioning profiles.

bundle exec fastlane provisioning

Environment Variables

Variable
APP_IDENTIFIER
MATCH_GIT_BRANCH
MATCH_GIT_URL
MATCH_PASSWORD
TEAM_ID
USER_EMAIL

Details

Purpose: Set up a local development machine without needing write access to the certificates repository.

What it does

  1. Syncs code signing certificates and profiles from the match repository (ENV["MATCH_GIT_URL"])
  2. Downloads development-type profiles for all bundle identifiers (main app + extensions)
  3. Read-only mode — does not modify the certificates repository

update_provisioning

Update certificate and provisioning profiles.

bundle exec fastlane update_provisioning

Options

Option Type Description
include_release Boolean If true, it will also update release certificate and provisioning profiles
create_branch Boolean If true and CUSTOMERS_BRANCH is specified, it will create it (it's needed for the first time)

Environment Variables

Variable
APP_IDENTIFIER
DEVICE_LIST_GIT_BRANCH
DEVICE_LIST_GIT_URL
MATCH_GIT_BRANCH
MATCH_GIT_URL
MATCH_PASSWORD
TEAM_ID
USER_EMAIL

Details

What it does

  1. Clones the device list from ENV["DEVICE_LIST_GIT_URL"] (branch ENV["DEVICE_LIST_GIT_BRANCH"])
  2. Registers devices from device-list.txt to the Apple Developer Portal
  3. Syncs development profiles for Debug configuration
  4. Syncs appstore profiles for Beta configuration (.beta suffix)
  5. If include_release: true — syncs appstore profiles for Release configuration

update_release_provisioning

Update appstore certificate and provisioning profiles for release.

bundle exec fastlane update_release_provisioning

Options

Option Type Description
create_branch Boolean If true and CUSTOMERS_BRANCH is specified, it will create it (it's needed for the first time)

Environment Variables

Variable
APP_IDENTIFIER
APP_IDENTIFIER_CUSTOMER
CUSTOMERS_BRANCH
MATCH_GIT_BRANCH
MATCH_GIT_URL
MATCH_PASSWORD
TEAM_ID
TEAM_ID_CUSTOMER
USER_EMAIL

Details

What it does

For own-account apps (no APP_IDENTIFIER_CUSTOMER):

  • Syncs appstore profiles from the main match branch for APP_IDENTIFIER

For customer-account apps (with APP_IDENTIFIER_CUSTOMER):

  • Syncs appstore profiles from CUSTOMERS_BRANCH (or falls back to MATCH_GIT_BRANCH) for APP_IDENTIFIER_CUSTOMER