- Creating Match repository
- Gathering required credentials and files
- Adding them to repository secrets
Create just an empty, private Github repository. It will be used in further steps by Fastlane Match. It stores Apple's certifactes for signing apps.
Gather following environment variables/credentials/files. Add them to your Github app's repository secrets.
- just paste when having single string or raw text file
- encode others(marked with *)
You can use
base64 -i {path} | pbcopy
Variables to add:
Keystore file for signing the app. App Signing. Example:
Encode retrieved file: key.keystore
Key properties file for signing the app. Key Properties. Example:
Encode retrieved file: key.properties.
File itself(storeFile is up to your keystore file's name):
storePassword=keystorePassword
keyPassword=keystorePassword
keyAlias=key
storeFile=key.keystore
AppStore App Id. Example:
284708449
AppStore App Id. Example:
483208449
Android/iOS PROD bundle id. Example:
com.example.hello.prod
Android/iOS PROD bundle id. Example:
com.example.hello.uat
Obtained while creating AppStore Connect API Key. Docs. Example:
6053b7fe-68a8-4acb-89be-165aa6465141
Obtained while creating AppStore Connect API Key. Docs. Example:
Encode retrieved file: AuthKey_12213124.p8
Obtained while creating AppStore Connect API Key. Docs. Example:
D383SF739
Url to Match repository you created. Example:
[email protected]:Your_organization/your-repository.git
Your AppleID. Example:
Your Team's Apple Development ID. Example:
012304DSAD
SSH key associated with your Github account. Example:
-----BEGIN PRIVATE KEY-----
MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQg2KxueFR7YnreLx3v
XXX
XXX
gov9vGNg
-----END PRIVATE KEY-----
Key linked to Google Console. doc Example:
{
"type": "service_account",
"project_id": "",
"private_key_id": "",
"private_key": "",
"client_email": "",
"client_id": "",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_x509_cert_url": ""
}
true/false Example:
true
Your name. Can be whatever. Example:
keychainName
Password for futher use.
keychainPassword1234
Password for futher use. Match password is passed when cinitializing Match repository. Example:
matchPassword1234
JSON with your app environment configurations. It's up to your app to handle content. Example:
{
"apiURL":"http://my-prod-api.com"
}
JSON with your app environment configurations. It's up to your app to handle content. Example:
{
"apiURL":"http://my-uat-api.com"
}
DON'T COMMIT THESE FILES OR VARIABLES!