Book Image

Continuous Delivery for Mobile with fastlane

By : Doron Katz
Book Image

Continuous Delivery for Mobile with fastlane

By: Doron Katz

Overview of this book

Competitive mobile apps depend strongly on the development team’s ability to deliver successful releases, consistently and often. Although continuous integration took a more mainstream priority among the development industry, companies are starting to realize the importance of continuity beyond integration and testing. This book starts off with a brief introduction to fastlane—a robust command-line tool that enables iOS and Android developers to automate their releasing workflow. The book then explores and guides you through all of its features and utilities; it provides the reader a comprehensive understanding of the tool and how to implement them. Themes include setting up and managing your certificates and provisioning and push notification profiles; automating the creation of apps and managing the app metadata on iTunes Connect and the Apple Developer Portal; and building, distributing and publishing your apps to the App Store. You will also learn how to automate the generation of localized screenshots and mesh your continuous delivery workflow into a continuous integration workflow for a more robust setup. By the end of the book, you will gain substantial knowledge on delivering bug free, developer-independent, and stable application release cycle.
Table of Contents (27 chapters)
Title Page
Dedication
www.PacktPub.com
Foreword
Contributors
Preface
Index

Setting up our project – Firefox for iOS


Before we set up fastlane, we will need a project to set it up over. As we will be working with others on Firefox for iOS, now that we have Git installed, let's grab the code. We will first fork the application code into our own repository; so in your browser, go to https://github.com/mozilla-mobile/firefox-ios and select the Fork button in the top-right corner.

Note

You will need to have your own GitHub account and be logged in to be able to fork a repository.

Once you've forked the Mozilla project into your own repo, pull the code from the master branch as follows (note—replace with your GitHub username from the forked repository):

git clone https://github.com/<your-user-name>/firefox-ios

Before we can build the app, we will need to pull in all the project dependencies, so navigate inside the project folder in the Terminal and type the following:

sh ./bootstrap.sh

Take a look at the following screenshot:

For curiosity's sake, you can take a look...