![]() ![]() We will get to the Fastfile in some time. As we have previously selected Automate beta distribution to TestFlight, we already have a beta lane set up. The Fastfile contains all the actions needed to upload the app to TestFlight. The Appfile contains information needed to connect AppStoreConnect, so you may want to read more about the Appfile in the official docs here. Which contains two files, one is Appfile and another one is Fastfile. Once the setup is finished you will see the Fastlane folder inside your ios folder. ![]() Then Fastlane will give you some information, you just need to press enter. Then you will need to enter your apple id username and password associated with the Apple developer’s account.We will choose the second option 2- Automate beta distribution to TestFlight for this exercise.Ĭhoose your correct app scheme for this promot. What would you like to use Fastlane for?Īfter completing, you will be asked what you intend to use Fastlane for. Set up fastlane by navigating to your ios folder and initializing Fastlaneįastlane will automatically detect your project, and ask for any missing information. Install the latest Xcode command-line tools:ģ. env files in which we will store configurations required by our different environments such as different API URLs, different app names, different build identifiers, and so on.ġ. We will be using Fastlane for automating the deployment process of the app.īy using react-native-config we can create. FastLane – Fastlane official site quotes:įastlane is an open source platform aimed at simplifying Android and iOS deployment.įastlane lets you automate every aspect of your development and release workflow. Let’s check the libraries we will be using:ġ. This guide will help those who are in a similar scenario, and want quickly get done with automating an app deployment process. This also means incrementing the build number for an app then uploading it to TestFlight (and a lot more things). This means that every time we want to upload the app, we have check whether we were using the exact API URLs associated with the app. We already had three different apps setup on TestFlight, but managing three different apps or environments with the same code base was getting difficult (for the remainder of our post we will use ‘environments’ for our different apps). There are a lot of other things that can be done with Fastlane, which you can learn more about on their official site.īefore Fastlane integration, we would manually deploy an app to TestFlight using Xcode. As the title suggests we will only go through setting up Fastlane to distribute an iOS beta app to TestFlight. In our scenario, we wanted to have an automatic deployment of our app to TestFlight managing different build environments i.e development, testing, and production. After researching integrating Fastlane with react-native, we didn’t find any complete articles on this topic to help with our use case. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |