A Simple Continuous Deployment of a React Native App to Apple’s App Store

Paulo Carvalho
4 min readNov 30, 2022

We will create a Github Action to build and deploy a React Native mobile application automatically using Fastlane to the Apple App Store.

Photo by Alvaro Reyes

Pre-Requisites

  1. A react-native application that builds successfully.
  2. An active Apple Developer Account with the app previously deployed to it (although it is possible to make the first deploy automatically we will be assuming its already deployed here).
  3. An App Store Connect API Key that will be used to authenticate requests to your App Store Connect from the CICD server without a password.
  4. Configure Match with Github to manage your distribution certificates. Match will securely store your certificates encrypted in a separate Github repository so it can be accessible from any machine including the worker running the CICD.
  5. A Github Personal Access Token with read/write permission to your private repositories which should include the one where Match is saving your distribution certificates.

Overview

We will be using Github Actions to run a deploy script automatically upon creating a Github Release of a new version of a ReactNative app to the iOS store.

Step 1: Configure…

--

--

Paulo Carvalho

Want to chat about startups, consulting or engineering? Just send me an email on paulo@avantsoft.com.br.