Fastlane : What does the fastlane match do ?
1 min readSep 25, 2020
The purpose of ‘fastlane match’ is to store all of your code signing keys and provisioning profiles in a GitHub repository, and downloads and installs the necessary keys and profiles with a single command.
When we run the ‘Fastlane match development’ command on terminal, the following things happen in the background —
- First it starts cloning the certificate repository by calling git clone and store code in a temporary folder and ask you for the password to decrypt it unless the MATCH_PASSWORD environment variable was specified.
- Check with the Developer Portal whether certificates are still valid. If the certificates do not exist, fastlane will create and add a developer certificate to the repo.
- Install certificates from the repo.
- Check whether the provisioning profile exists. If not, Fastlane will create a new developer profile.
- Install the provisioning profile and set the environment variable that stores its id.