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 clone
both your main repository (the one you register on bitrise.io) and thematch
repository.Add an Environment Variable
MATCH_PASSWORD
to specify thepassphrase
you 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
’sreadonly
mode, or elsematch
will 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
match
in yourFastfile
orfastlane
config: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 .