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
Warren Lin
 
PDF
Build and release iOS apps using Fastlane tools
Wise Engineering
 
PDF
CI CD Jenkins for Swift Deployment
Bintang Thunder
 
PPTX
Introduction to DevOps. Continuous Integration by Myroslav Dmytrus
Binary Studio
 
PDF
Git flow for daily use
Mediacurrent
 
PPTX
Git - Basic Crash Course
Nilay Binjola
 
PDF
Git Branching for Agile Teams
Atlassian
 
PPTX
Git in 10 minutes
Safique Ahmed Faruque
 
Fastlane
Warren Lin
 
Build and release iOS apps using Fastlane tools
Wise Engineering
 
CI CD Jenkins for Swift Deployment
Bintang Thunder
 
Introduction to DevOps. Continuous Integration by Myroslav Dmytrus
Binary Studio
 
Git flow for daily use
Mediacurrent
 
Git - Basic Crash Course
Nilay Binjola
 
Git Branching for Agile Teams
Atlassian
 
Git in 10 minutes
Safique Ahmed Faruque
 

What's hot (20)

PPTX
Branching and Merging Practices
Rajesh Kumar
 
PDF
Uyuni, the solution to manage your IT infrastructure
Pau Garcia Quiles
 
PDF
Git flow Introduction
David Paluy
 
PDF
Using GitLab CI
ColCh
 
PPTX
Hybrid mobile app
Palani Kumar
 
PPT
Git workflows
Xpand IT
 
PDF
Getting started with appium
Pratik Patel
 
PPTX
Jenkins
MohanRaviRohitth
 
PPTX
CI/CD
AmitDhodi
 
PPTX
History of mobile apps
THINK IT Training
 
PPTX
Jenkins - From Continuous Integration to Continuous Delivery
Virendra Bhalothia
 
PDF
Learning git
Sid Anand
 
PPTX
Git 101 for Beginners
Anurag Upadhaya
 
PDF
CI/CD 101
djdule
 
PDF
Git Tutorial I
Jim Yeh
 
PDF
Gitlab flow solo
viniciusban
 
PPTX
Angular vs React: Building modern SharePoint interfaces with SPFx
Dimcho Tsanov
 
ODP
Introduction to Version Control
Jeremy Coates
 
PDF
Starting with Git & GitHub
NicolĂĄs TournĂŠ
 
PPTX
Automation testing on ios platform using appium
Ambreen Khan
 
Branching and Merging Practices
Rajesh Kumar
 
Uyuni, the solution to manage your IT infrastructure
Pau Garcia Quiles
 
Git flow Introduction
David Paluy
 
Using GitLab CI
ColCh
 
Hybrid mobile app
Palani Kumar
 
Git workflows
Xpand IT
 
Getting started with appium
Pratik Patel
 
Jenkins
MohanRaviRohitth
 
CI/CD
AmitDhodi
 
History of mobile apps
THINK IT Training
 
Jenkins - From Continuous Integration to Continuous Delivery
Virendra Bhalothia
 
Learning git
Sid Anand
 
Git 101 for Beginners
Anurag Upadhaya
 
CI/CD 101
djdule
 
Git Tutorial I
Jim Yeh
 
Gitlab flow solo
viniciusban
 
Angular vs React: Building modern SharePoint interfaces with SPFx
Dimcho Tsanov
 
Introduction to Version Control
Jeremy Coates
 
Starting with Git & GitHub
NicolĂĄs TournĂŠ
 
Automation testing on ios platform using appium
Ambreen Khan
 
Ad

Viewers also liked (20)

PDF
Deploy your app with one Slack command
Fabio Milano
 
PDF
Travis and fastlane
Steven Shen
 
PDF
AnĂĄlisis lectura ÂżquĂŠ es una constituciĂłn?
Jairo Ascencio Guevara
 
DOC
Oracle qstns
ranjitwoonna
 
PPTX
iOS and Android apps automation
Sridhar Ramakrishnan
 
PPTX
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
RedBlackTree
 
PDF
Mobile developments at eXo
Arnaud HĂŠritier
 
PPTX
Deployment and distribution- iOS
Suraj B
 
PPT
IBM Innovate DevOps for Mobile Apps
Sanjeev Sharma
 
PDF
A Continuous Delivery Safety Net for Databases
IBM UrbanCode Products
 
PDF
DevOps for the Mobile Enterprise: Test and Deploy
Rosalind Radcliffe
 
PDF
Exercising and Scaling Up Mobile DevOps in the Enterprise
Bitbar
 
PDF
Continuous Integration & deployment for your Xamarin app
Gerald Versluis
 
PPTX
Best Practices for DevOps in Mobile App Testing
Bitbar
 
PPTX
Building an AppSec Pipeline: Keeping your program, and your life, sane
weaveraaaron
 
PPT
Continuous Delivery to the cloud - Innovate 2014
Sanjeev Sharma
 
PPTX
iOS App Development Presented by Edifyself
Edifyself
 
PDF
Microservices Architecture Enables DevOps: Migration to a Cloud-Native Archit...
Pooyan Jamshidi
 
PPTX
Delivery Pipeline as Code: using Jenkins 2.0 Pipeline
Slawa Giterman
 
PDF
Continuous Delivery with fastlane
Somkiat Puisungnoen
 
Deploy your app with one Slack command
Fabio Milano
 
Travis and fastlane
Steven Shen
 
AnĂĄlisis lectura ÂżquĂŠ es una constituciĂłn?
Jairo Ascencio Guevara
 
Oracle qstns
ranjitwoonna
 
iOS and Android apps automation
Sridhar Ramakrishnan
 
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
RedBlackTree
 
Mobile developments at eXo
Arnaud HĂŠritier
 
Deployment and distribution- iOS
Suraj B
 
IBM Innovate DevOps for Mobile Apps
Sanjeev Sharma
 
A Continuous Delivery Safety Net for Databases
IBM UrbanCode Products
 
DevOps for the Mobile Enterprise: Test and Deploy
Rosalind Radcliffe
 
Exercising and Scaling Up Mobile DevOps in the Enterprise
Bitbar
 
Continuous Integration & deployment for your Xamarin app
Gerald Versluis
 
Best Practices for DevOps in Mobile App Testing
Bitbar
 
Building an AppSec Pipeline: Keeping your program, and your life, sane
weaveraaaron
 
Continuous Delivery to the cloud - Innovate 2014
Sanjeev Sharma
 
iOS App Development Presented by Edifyself
Edifyself
 
Microservices Architecture Enables DevOps: Migration to a Cloud-Native Archit...
Pooyan Jamshidi
 
Delivery Pipeline as Code: using Jenkins 2.0 Pipeline
Slawa Giterman
 
Continuous Delivery with fastlane
Somkiat Puisungnoen
 
Ad

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

PPTX
Nativescript with angular 2
Christoffer Noring
 
PPTX
Mobile Application and Developments.pptx
GevitaChinnaiah
 
PPTX
Phonegap android angualr material design
Srinadh Kanugala
 
PPTX
Telerik AppBuilder Presentation for TelerikNEXT Conference
Jen Looper
 
ODP
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
Eric D. Schabell
 
PDF
Android App development and test environment, Understaing android app structure
Vijay Rastogi
 
PDF
Node Summit 2018: Cloud Native Node.js
Chris Bailey
 
PPTX
Expo - Zero to App.pptx
😎 Anthony Kariuki
 
PPT
State ofappdevelopment
gillygize
 
PPTX
Django simplified : by weever mbakaya
Mbakaya Kwatukha
 
PDF
Appium understanding document
Akshay Pillay
 
PPTX
Titanium Studio [Updated - 18/12/2011]
Sentinel Solutions Ltd
 
PPT
Appium
Keshav Kashyap
 
PDF
Advanced programing in phonegap
Rakesh Jha
 
PDF
Introduction phonegap
Rakesh Jha
 
PDF
2016 05-cloudsoft-amp-and-brooklyn-new
BradDesAulniers2
 
PDF
Ionic2 First Lesson of Four
Ahmed Mahmoud Kesha
 
PPTX
flutter_bootcamp_MUGDSC_Presentation.pptx
RakshaAgrawal21
 
PPTX
flutterbootcamp
RakshaAgrawal21
 
PDF
HotPush with Ionic 2 and CodePush
Evan Schultz
 
Nativescript with angular 2
Christoffer Noring
 
Mobile Application and Developments.pptx
GevitaChinnaiah
 
Phonegap android angualr material design
Srinadh Kanugala
 
Telerik AppBuilder Presentation for TelerikNEXT Conference
Jen Looper
 
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
Eric D. Schabell
 
Android App development and test environment, Understaing android app structure
Vijay Rastogi
 
Node Summit 2018: Cloud Native Node.js
Chris Bailey
 
Expo - Zero to App.pptx
😎 Anthony Kariuki
 
State ofappdevelopment
gillygize
 
Django simplified : by weever mbakaya
Mbakaya Kwatukha
 
Appium understanding document
Akshay Pillay
 
Titanium Studio [Updated - 18/12/2011]
Sentinel Solutions Ltd
 
Appium
Keshav Kashyap
 
Advanced programing in phonegap
Rakesh Jha
 
Introduction phonegap
Rakesh Jha
 
2016 05-cloudsoft-amp-and-brooklyn-new
BradDesAulniers2
 
Ionic2 First Lesson of Four
Ahmed Mahmoud Kesha
 
flutter_bootcamp_MUGDSC_Presentation.pptx
RakshaAgrawal21
 
flutterbootcamp
RakshaAgrawal21
 
HotPush with Ionic 2 and CodePush
Evan Schultz
 

Recently uploaded (20)

PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 

Fastlane - Automation and Continuous Delivery for iOS Apps