O'Reilly logo

Continuous Delivery for Mobile with fastlane by Doron Katz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Updating our Fastfile

So, with an empty Fastfile, let's start by creating our first lane, which we will label beta. We will be adding more actions to it later on, but for now, we are simply going to call sigh every time we run a beta deployment, ensuring our provisioning profiles are always current through the use of force. Enter the following into a new lane, then hit save. Make sure to remove any other lines in the :beta lane. Ignore any other lanes for now; we will get to them at a later stage. Refer to the following code snippet:

lane :beta do
  sigh(force: true)
end

And that's it! We started creating a simple but functional lane. We can test our very first lane by typing the following in a Terminal:

fastlane beta

The output should produce ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required