You will now create a new Git repo and use fastlane match to retrieve and store your certificates in your repository. Follow these steps:
- Create a private Git repository at github.com. You can find the details of the procedure at https://docs.github.com/en/github/getting-started-with-github/create-a-repo.
- In the ios directory of your project, from Terminal, type the following:
fastlane match init
- When prompted, choose the Git storage mode, then insert your private Git repository address.
- In your Terminal window, type the following:
fastlane match development
- When prompted, enter the passphrase that will be used to encrypt and decrypt your certificates.
Make sure to remember your password, as it's needed when running match on another machine.
-
When prompted, enter the password for your keychain, which will be stored in the fastlane_keychain_login file and used in future runs of match.
-
At the end of the process, you should see the following success...