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

Chapter 8. Build and Package Apps for the App Store with gym

Up until now, we have been working with the various fastlane actions to create and distribute certificates and provisioning profiles and to communicate with iTunes Connect and the Developer portal through the command line. We will finally start to implement the real workhorse actions from this chapter, starting with gym (https://docs.fastlane.tools/actions/gym/), an action that will help us automate the process of building and packaging our app.

The actions so far have helped us set the stage by ensuring all our configurations are in place for this chapter and beyond, where we will work on the building and packaging aspects as well as the generation of snapshots in the subsequent chapters.

This chapter will focus on building and packaging our iOS app into a .ipa file and demonstrate how we would package it for local distribution (beta testing) versus deployment to the App Store and Enterprise customers.

 We will be working with gym...