Configuring fastlane for a projectįor this tutorial, we’ll use a demo app called ToDo. When the installation is complete, confirm it by running the following command: fastlane -version # Output: fastlane installation at path: /usr/local/Cellar/fastlane/2.185.0/libexec/gems/fastlane-2.185.0/bin/fastlane - □ fastlane 2.185.0Ĭongratulations! You're ready to use fastlane in a new project. Run the following command to add the Ruby gem for the project: sudo gem install -n /usr/local/bin fastlane -verbose It can be enabled with the following command: xcode-select -install Next, set up the Xcode command-line tool (CLT). If Ruby is not installed, follow their instructions here to install it. Excitingly, there’s also a Swift version of fastlane that’s currently in beta.Ĭonfirm that you have Ruby installed on your machine by opening Terminal and running: ruby -v There are many ways to install fastlane, but we’ll use Ruby for the task. At the end of this tutorial, you should have everything you need to build the perfect fastlane pipeline for your next iOS app. You’ll add lanes for signing, testing, building, and deploying a simple “to-do” list application. In this tutorial, you’ll see how to build a local fastlane pipeline that will automate the final steps of the iOS development and deployment process. It is powered by a Ruby configuration file called a Fastfile, in which you can add lanes to serve different purposes. This is where the app automation platform fastlane comes in.įastlane is an open-source suite of tools that allows you to automate your iOS or Android mobile app releases, potentially saving you hours of development time. Even when you’re just releasing some updates, you have to perform each step in the right order and to Apple’s exacting specifications: code signing, creating the app and version in App Store Connect, running tests, archiving and uploading the build, and generating and setting various metadata and screenshots. You've spent months building an app, and when it finally comes time to distribute it to the App Store, you realize it’s not going to be an easy task.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |