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)

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 ...

Get Continuous Delivery for Mobile with fastlane now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.