build ios app for continuous delivery

19
WhiteHedge @ thewhitehedge info@ WhiteHedge.com WhiteHedge.com/DevOps/ Deliver Faster. Deliver Right. Build iOS App for Continuous Delivery

Upload: whitehedge-technologies-inc

Post on 11-Jan-2017

86 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Build iOS app for continuous delivery

WhiteHedge

@[email protected]/DevOps/

Deliver Faster. Deliver Right.

Build iOS App for Continuous Delivery

Page 2: Build iOS app for continuous delivery

WhiteHedge

@[email protected]/DevOps/2

- HELLO

Shorten the path between Innovation and Value

WhiteHedge is an agile Product Development company with deep experience in the CloudAutomation, DevOps and Big Data Analytics.

Experience of building 50+ successful products across the globe in various industries and theknowledge of latest trends and technologies, make us stand out as the best and the coolestsoftware product development company.

INTRODUCTION

Page 3: Build iOS app for continuous delivery

WhiteHedge

@[email protected]/DevOps/3

- AN OVERVIEW

Global Presence

Agile + Flexible

Thorough + Quick Learner

Competitive + Comprehensive

Honest + Transparent

Young + Mature

Innovative + Creative

More about us …What defines us ?

California

New Jersey Rotterdam

Pune

Envision Products |

Convert into businesses

100+ employees | 50+ live

products world-wide

The best of the Talent and

Infrastructure

Started 2003 | Focused Agile

Product Development

Self funded | Well funded |

Profitable

INTRODUCTION

Page 4: Build iOS app for continuous delivery

WhiteHedge

@[email protected]/DevOps/

TABLE OF CONTENTS

4

- OUR AGENDA

How we did it?

5

App Distribution Workflow

1

Continuous Delivery

2

CD with Fastlane

3

Fastlane

4

Key Components

6

Architecture

7

Overview of Build Process

8

Page 8: Build iOS app for continuous delivery

WhiteHedge

@[email protected]/DevOps/

CONTINUOUS DELIVERY

oContinuous Delivery is a design practice used in software development to automate and improve the process of software delivery

oYou want to deploy and deliver updates more often to the

repeating task

oUsing fastlane and its tools, you can deploy an App update to the App Store very easily

Page 10: Build iOS app for continuous delivery

WhiteHedge

@[email protected]/DevOps/

FASTLANE

ofastlane lets you define and run your deployment pipelines for different environments

o

automate the whole process

ofastlane connects all fastlane tools and third party tools, like CocoaPods and Gradle

Page 12: Build iOS app for continuous delivery

WhiteHedge

@[email protected]/DevOps/

FASTLANE TOOLS

certautomatically creates and maintains iOS code signing certificates.

sighcreates, renews, downloads and repairs provisioning profiles.

snapshotautomates taking localized screenshots of your iOS app on every device.

gymbuilds and packages your iOS apps.

pilot manage your TestFlight testers and builds from your terminal.

deliveruploads screenshots, metadata and your apps to the App Store.

Page 14: Build iOS app for continuous delivery

WhiteHedge

@[email protected]/DevOps/

GETTING STARTED

$ sudo gem install fastlane —verbose

$ cd [your_project_folder]

$ fastlane init

Page 16: Build iOS app for continuous delivery

WhiteHedge

@[email protected]/DevOps/

FASTFILE

fastlane_version "1.83.0"

default_platform :ios

platform :ios do

lane :beta do

increment_build_number

cert

sigh

cocoapods

gym(scheme: "EOS")

pilot

end

lane :release do

increment_build_number

scan

cert

sigh

snapshot

cocoapods

gym(scheme: "EOS")

deliver

end

end