![]() Then, we’ll run fastlane init and choose the “manual setup” option when prompted. Here we’ll use Bundler, running brew install fastlane from our main app project directory. Install fastlane using one of the recommended installation methods. You can do a lot with fastlane, but for the purposes of this tutorial, we’ll be using only a handful of core actions. Using fastlane, you can configure custom “lanes” which bundle a series of “actions” that perform tasks that you’d normally perform using Xcode or xcodebuild. Install fastlane and set up your Fastfileįastlane is a Ruby library created to automate common mobile development tasks. Set up a basic GitHub Actions workflow.Configure your secrets in GitHub’s encrypted secrets.Install fastlane and set up your Fastfile.Your app is a vanilla native iOS app (you’d need to make a few tweaks to get things working for a React Native app, for example)īy the end of this tutorial, you’ll be able to build & upload iOS binaries for your app by triggering a workflow in GitHub Actions with the click of a button (or by setting up automatic triggers)! Steps.You already have an app on the App Store.In this tutorial, we’ll spin up a complete iOS build & upload pipeline in just 30 minutes using fastlane and GitHub Actions.įirst off, this tutorial will assume a few things: We’re here to help! We’ve done this before, and have collected the out-of-the-box building blocks that will save you having to waste time figuring out all the pieces and reinventing the wheel. Enter CI/CD.īut spinning up a build pipeline isn’t straightforward, and if you’re a busy, growing team you probably can’t afford to spend a week figuring out which CI provider is the best and poring over documentation to cobble together a functional workflow. Maybe your team is also realizing that it’s an unnecessary bottleneck and single point of failure and that it’s time to automate your build process so that anyone can create App Store builds, confidently and without breaking anything. Maybe your team is growing, and being “ the release person” – the only one with the required keys and ability to archive and ship builds – is getting a bit old. So you’ve built an iOS app and deployed a bunch of updates to your users manually from your laptop.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |