Fastlane

iOS

  1. Create an App Store Connect API key here
  2. Setup your match repository.
  3. Set the following group-level CI/CD variables in GitLab:
KeyProtectedMaskedBase 64 EncodedDefault
APP_STORE_CONNECT_API_KEY_ISSUER_ID
APP_STORE_CONNECT_API_KEY_KEY
APP_STORE_CONNECT_API_KEY_KEY_ID
FASTLANE_KEYCHAIN_PATHlogin
FASTLANE_KEYCHAIN_PASSWORD
MATCH_GIT_URL
MATCH_TEAM_ID
MATCH_TYPEappstore
MATCH_USERNAME
  1. Optional: set the following project-level CI/CD variables in GitLab:
KeyProtectedMaskedBase 64 EncodedDefault
MATCH_APP_IDENTIFIERcom.$CI_PROJECT_ROOT_NAMESPACE.*

Remarks

  • MATCH_GIT_URL should be an ssh URL.
  • MATCH_USERNAME is your App Store Connect Apple ID.
  • FASTLANE_KEYCHAIN_PATH and FASTLANE_KEYCHAIN_PASSWORD might need to be assigned as runner-level variables.
  • To view keychains, run:
security list-keychains

Android

Coming soon

See Also