SlideShare a Scribd company logo
Fastlane - Automation &
Continuous Delivery for
iOS Apps
Sarath C,
Architect, Experion Technologies
@sarat
Architect, Experion Technologies
State of iOS Development at
Experion Technologies
• We use Swift for all new projects
• We have delivered about 15 iOS projects developed
using Swift in past 2 years
• All our developers are trained to work with Swift
• We still use Objective-C — mostly for legacy code
base
• Modern tools and workflows to deliver projects
tools & workflows
the best tools are…
something that works well
for your team
Fastlane - Automation and Continuous Delivery for iOS Apps
what’s fastlane?
fastlane lets you define and
run your deployment pipelines
for different environments
It helps you unify your app’s
release process and
automate the whole process
fastlane connects all
fastlane tools and third
party tools, like CocoaPods
lanes
lanes are typically deployment pipelines
and the recipe is yours
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
tools
upload screenshots, metadata and
your app to the App Store using a
single command.
automate taking localized
screenshots of your iOS app on
every device
quickly put your screenshots into
the right device frames
automatically generate and renew
your push notification profiles
because you would rather spend
your time building stuff than
fighting provisioning
create new iOS apps on iTunes
Connect and Developer Portal using
the command line
automatically create and maintain
iOS code signing certificates
the easiest way to run tests of
your iOS and Mac app
building your iOS app has never
been easier
easily sync your certificates and
profiles across your team using
Git
the best way to manage your
TestFlight testers and builds from
your terminal
instantly create a simple signup
page for TestFlight beta testers
a Ruby library to access the Apple
Developer Center and iTunes
Connect
demo
build. test. screenshots.
sign. deliver
gem install fastlane
fastlane init
Fastlane - Automation and Continuous Delivery for iOS Apps
👈
👈
how authentication
works?
snapshot init
👈
👈
👈
👈
match
$ match appstore
$ match development
Fastlane - Automation and Continuous Delivery for iOS Apps
HockeyApp
desc "Deploy a new version to Hockey App"
lane :hockey do
match(type: "development")
gym(scheme: "fastlane-demo") # Build your
app - more options available
hockey(
api_token: API_TOKEN
public_identifier: APP_ID,
notes: "Changelog",
notify: '0',
notes:git_branch + ' (Uploaded via
fastlane).'
)
end
👈
👈
👈
running…
stats
Fastlane - Automation and Continuous Delivery for iOS Apps
TestFlight
lane :appstore do
increment_build_number
cocoapods
scan
snapshot
sigh
deliver
sh "./customScript.sh"
slack
end
tips
ruby --version
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
$ xcode-select --install
$ brew install rbenv
$ rbenv install -l
$ rbenv install 2.2.5
$ rbenv install 2.3.1
$ rbenv global 2.3.1
$ vim ~/.zshrc
RBENV_VERSION="system"
export PATH="~/.rbenv/shims:/usr/local/bin:/usr/
sbin:/usr/bin:/bin:/sbin:~/.rvm/bin"
eval "$(rbenv init -)"
.gitignore
make sure you don’t include fastlane
generated files in your repo
gitignore.io
pro tip: use it in commandline
frameit
you need to download the templates from
apple’s website. tool will point you to
right place for the first time setup.
Fastlane - Automation and Continuous Delivery for iOS Apps
app icons
Your app icons needs to be configured
properly to upload to App Store.
use utilities like makeappicon.com to
generate required images size.
CI Environment
Variables
It’s not a good idea to embed the secret
keys and files within the code/repo.
Use environment variables, settings and
integration features of CI Server to secure
your data
use private repos
there are several bots pulling out keys and
content from the public github repo.
don’t put your projects at risk.
🔐
auto build number
increment
to automate the build number increment, you
have to set the version in the project’s
build settings
https://developer.apple.com/library/ios/qa/
qa1827/_index.html
TestFlight Build# + 1
increment_build_number({
build_number:
latest_testflight_build_number + 1
})
change log from commits
# Collects commits since your last tag and
returns a concatenation of their subjects and
bodies
changelog_from_git_commits
Actions
This is an ultimate guide to bring best out of
your fastlane pipeline. This guide contains
documentation on fastlane actions to extend
fastlane tools.
github.com/fastlane/fastlane/blob/
master/fastlane/docs/Actions.md
match
A handy utility to securely share your
certificates and provision files across the
systems. Quite useful when you work with CI
servers and multiple machines
where to go from
here?
• fastlane.tools/
• github.com/fastlane/fastlane
• github.com/fastlane/examples
• github.com/fastlane/fastlane/blob/
master/fastlane/docs/Actions.md
what’s next?
👍

More Related Content

PPTX
Fastlane
PDF
Build and release iOS apps using Fastlane tools
PPTX
Maven Basics - Explained
PDF
Flutter bus 2018
PDF
A Git Workflow Model or Branching Strategy
PDF
Effective Java, Third Edition - Keepin' it Effective
PPTX
Maven tutorial
Fastlane
Build and release iOS apps using Fastlane tools
Maven Basics - Explained
Flutter bus 2018
A Git Workflow Model or Branching Strategy
Effective Java, Third Edition - Keepin' it Effective
Maven tutorial

What's hot (20)

PDF
CI CD Jenkins for Swift Deployment
PDF
Jenkins
PPTX
Selenium WebDriver training
PPT
QACampus PPT (STLC)
PDF
Introduction to Tekton
PDF
Devfest 2021' - Artifact Registry Introduction (Taipei)
PPS
ISTQB Foundation - Chapter 2
PDF
System Hardening Using Ansible
PDF
Introducing GitLab (June 2018)
PDF
CI with Gitlab & Docker
PPTX
REST API testing with SpecFlow
PDF
Implementing ossec
PDF
Git workflows
PPT
How to install android sdk
PPTX
Flutter talkshow
PPTX
PDF
Jenkins Test Automation with codeBeamer ALM
PDF
PDF
What is Software Testing | Edureka
CI CD Jenkins for Swift Deployment
Jenkins
Selenium WebDriver training
QACampus PPT (STLC)
Introduction to Tekton
Devfest 2021' - Artifact Registry Introduction (Taipei)
ISTQB Foundation - Chapter 2
System Hardening Using Ansible
Introducing GitLab (June 2018)
CI with Gitlab & Docker
REST API testing with SpecFlow
Implementing ossec
Git workflows
How to install android sdk
Flutter talkshow
Jenkins Test Automation with codeBeamer ALM
What is Software Testing | Edureka
Ad

Viewers also liked (20)

PDF
Deploy your app with one Slack command
PDF
Travis and fastlane
PDF
Análisis lectura ¿qué es una constitución?
DOC
Oracle qstns
PPTX
iOS and Android apps automation
PPTX
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
PDF
Mobile developments at eXo
PPTX
Deployment and distribution- iOS
PPT
IBM Innovate DevOps for Mobile Apps
PDF
A Continuous Delivery Safety Net for Databases
PDF
DevOps for the Mobile Enterprise: Test and Deploy
PDF
Exercising and Scaling Up Mobile DevOps in the Enterprise
PDF
Continuous Integration & deployment for your Xamarin app
PPTX
Best Practices for DevOps in Mobile App Testing
PPTX
Building an AppSec Pipeline: Keeping your program, and your life, sane
PPT
Continuous Delivery to the cloud - Innovate 2014
PPTX
iOS App Development Presented by Edifyself
PDF
Microservices Architecture Enables DevOps: Migration to a Cloud-Native Archit...
PPTX
Delivery Pipeline as Code: using Jenkins 2.0 Pipeline
PDF
Continuous Delivery with fastlane
Deploy your app with one Slack command
Travis and fastlane
Análisis lectura ¿qué es una constitución?
Oracle qstns
iOS and Android apps automation
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
Mobile developments at eXo
Deployment and distribution- iOS
IBM Innovate DevOps for Mobile Apps
A Continuous Delivery Safety Net for Databases
DevOps for the Mobile Enterprise: Test and Deploy
Exercising and Scaling Up Mobile DevOps in the Enterprise
Continuous Integration & deployment for your Xamarin app
Best Practices for DevOps in Mobile App Testing
Building an AppSec Pipeline: Keeping your program, and your life, sane
Continuous Delivery to the cloud - Innovate 2014
iOS App Development Presented by Edifyself
Microservices Architecture Enables DevOps: Migration to a Cloud-Native Archit...
Delivery Pipeline as Code: using Jenkins 2.0 Pipeline
Continuous Delivery with fastlane
Ad

Similar to Fastlane - Automation and Continuous Delivery for iOS Apps (20)

PPTX
Continous Integration for iOS Projects
PDF
Build automation with Fastlane
PDF
Developing in the Fastlane -> How LookLive uses Fastlane to automate and spee...
PPTX
Fastlane
PDF
Mobile Day - Fastlane
PDF
Tech Talk #5 : Apply CI tools in iOS development - Trương Minh Khôi
PDF
Automation in iOS development
PDF
Automate your iOS deployment a bit
PDF
XebiCon'16 : Fastlane : Automatisez votre vie (de développeur iOS) Par Jean-...
PDF
Continuous Delivery for Mobile platforms (iOS and a bit of Android)
PDF
Connect.Tech- Level Up Your Game With TravisCI
PDF
iOSDevUK Conference- DevOps for iOS Apps
PPTX
Building CI_CD for Mobile Development.pptx
KEY
Continuous integration & deployment
PPTX
Mobile CICD
PDF
Ci for i-os-codemash-01.2013
PDF
Mobile Apps CI
PDF
Ci system part ii
PPT
State ofappdevelopment
PDF
Fastlane for Androidによる継続的デリバリー
Continous Integration for iOS Projects
Build automation with Fastlane
Developing in the Fastlane -> How LookLive uses Fastlane to automate and spee...
Fastlane
Mobile Day - Fastlane
Tech Talk #5 : Apply CI tools in iOS development - Trương Minh Khôi
Automation in iOS development
Automate your iOS deployment a bit
XebiCon'16 : Fastlane : Automatisez votre vie (de développeur iOS) Par Jean-...
Continuous Delivery for Mobile platforms (iOS and a bit of Android)
Connect.Tech- Level Up Your Game With TravisCI
iOSDevUK Conference- DevOps for iOS Apps
Building CI_CD for Mobile Development.pptx
Continuous integration & deployment
Mobile CICD
Ci for i-os-codemash-01.2013
Mobile Apps CI
Ci system part ii
State ofappdevelopment
Fastlane for Androidによる継続的デリバリー

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Empathic Computing: Creating Shared Understanding
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Machine learning based COVID-19 study performance prediction
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Encapsulation theory and applications.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MIND Revenue Release Quarter 2 2025 Press Release
Empathic Computing: Creating Shared Understanding
sap open course for s4hana steps from ECC to s4
Machine learning based COVID-19 study performance prediction
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Review of recent advances in non-invasive hemoglobin estimation
Mobile App Security Testing_ A Comprehensive Guide.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Encapsulation theory and applications.pdf
MYSQL Presentation for SQL database connectivity
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Spectral efficient network and resource selection model in 5G networks
Understanding_Digital_Forensics_Presentation.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Big Data Technologies - Introduction.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

Fastlane - Automation and Continuous Delivery for iOS Apps