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

Let’s make this even more efficient by adding a gym to our Fastfile workflow. Open up the Fastfile and go to the beta lane:

lane :beta do
    register_devices(devices_file: "devices.txt")
    match(git_url: "git@bitbucket.org:doron_katz/my-fastlane-keys.git",
      type: "development",
      app_identifier: "com.doronkatz.firefox")
      gym(scheme: "Fennec",
        output_name: "firefox.ipa",
                  configuration: "development",
                  export_method: 'ad-hoc',
        silent: false,
        output_directory: "./Export"
      )
    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

Let’s run fastlane beta and confirm our build action is working:

$ fastlane beta [13:34:34]: ------------------------------------------------- [13:34:34]: --- ...

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