
If you read the docs you can see that match supports Git repo, Google Cloud or Amazon S3 for storing the certificates and identities. In order to create a signed build for iOS you need to use your Apple certificates, but you don’t want to create them manually and store them only in your local machine, nor you want to use Xcode’s automatic signing because this would mean that you cannot share them with your team or in CI, so you’ll use a powerful tool provided by fastlane that creates and sync your Apple certificates across builds: match. env file! You can commit the template, but this file contains secrets that should be handled with your CI secrets management. KEYSTORE_PATH = KEYSTORE_PASSWORD = KEYSTORE_ALIAS =Įach variable should be pretty self-explanatory, for some of them we’ll see more details later.ĭon’t commit the. UPDATE_TARGETS = MATCH_PASSWORD = MATCH_GIT_URL = MATCH_GIT_BASIC_AUTHORIZATION = MATCH_BUILD_TYPE =development KEYCHAIN_PASSWORD = FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD = EXPORT_METHOD = IOS_PROJECT_PATH = WORKSPACE_PATH = APP_ID = APPSTORE_USERNAME = TEAM_ID = TEAM_NAME = OUTPUT_PATH = SCHEME = BUILD_PODS =true

#Fastlane match ci install#
The key tool here is fastlane so my advice is to read the docs for a complete setup guide ( ) but in short you need to install Xcode command-line tools and the fastlane tool.
#Fastlane match ci manual#
So first of all if you want to be cross-platform and build for iOS and Android, you’re gonna need a Mac so this post assumes that you are on a macOS and that you have everything set-up for a manual build with Xcode and Android Studio. Note: this setup is tested on React Native projects, but should be easily adaptable to any mobile framework or native projects. In this post I will show you our internal Fastlane setup that lets us operate on cross-platform React Native projects as a team, integrate the CI/CD with GitHub Actions, and do almost everything from the CLI. Unfortunately, when you want to build and deploy for production, deal with code signing, certificates and keys, and share the development process across your team, it doesn’t offer a solution out of the box, and you still need to use platform-specific IDE like Xcode and Android Studio.īut there’s an open source tool that fills this gap and provides a complete automation for the whole process, starting from the development build to the signed production bundle: Fastlane. React Native is a powerful framework for building mobile, desktop and even web applications, and with its CLI you can run a development version of a mobile app in an emulator or connected physical device almost with zero conf.
