If you want to use fastlane match in your bitrise.io build, you only have to do three things:
Make sure that a single SSH key can be used to
git cloneboth your main repository (the one you register on bitrise.io) and thematchrepository.Add an Environment Variable
MATCH_PASSWORDto specify thepassphraseyou used formatch. On bitrise.io you should add this as a Secret Environment Variable in the Workflow Editor. Make sure to disable the Replace variables in input? option of the environment variable to avoid causing issues when the value includes the$(dollar) sign, which is used for environment variable expansion.Make sure to use
match’sreadonlymode, or elsematchwill try to connect to the Apple Developer Portal, which requires further authorization (providing additional username and password for Apple Dev Portal login)!If you use
matchin yourFastfileorfastlaneconfig:match(app_identifier: "my.domain", type: "appstore", readonly: true).If you use it as a command line tool:
match development --readonly.
That’s all, you can now enjoy the utility of match, automated with bitrise.io .
