Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Supercharged App Deployment using Fastlane

Supercharged App Deployment using Fastlane

Talk at SwiftBLR Nov 2016 meetup on Fastlane tools
Code: https://github.com/vijaytholpadi/FastlaneDemo

Twitter: https://www.twitter.com/vijaytholpadi
Github: https://github.com/vijaytholpadi

Mobmerry: https://www.mobmerry.com

If you are viewing this presentation on SpeakerDeck, the links are not clickable. So I am listing them out below.

Links in the presentation:
Fastlane Homepage - https://fastlane.tools
Fastlane Examples by the Community - https://github.com/fastlane/examples
Fastlane Actions - https://docs.fastlane.tools/actions/
Advanced Fastlane - https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Advanced.md
Code Signing Explained - https://medium.com/ios-os-x-development/ios-code-signing-provisioning-in-a-nutshell-d5b247760bef#.kpohhy7tp
Code Signing using Match - https://codesigning.guide

WatchBuild - https://github.com/fastlane/fastlane/tree/master/watchbuild
Fastlane for Android - https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Android.md

Vijay Tholpadi

November 12, 2016
Tweet

Other Decks in Technology

Transcript

  1. Developer Work ow Development Spec + Design + Code +

    Run Internal Deployment + Testing + Build Archiving + Signing issues + Prepare push certificates + Upload External Deployment + Screenshots + Process + Submit 4
  2. Motivation to Self The most powerful tool we have as

    developers today is automation. Hence, Automation -> Reduces Process Redundancy -> Profit 6
  3. Why not Apple's CLI tools? Hard to learn (For those

    who dont nd the CLI intuitive) Hard to use (Verbose commands with long chained parameters. Tough to get things done.) Hard to maintain the commands (Apple's CLI commands are not known for friendliness. Error reporting is not great either. Error 65) 8
  4. #NotAPerceptionProblem Build xcodebuild -project Example.xcodeproj \ -scheme ExampleScheme \ -configuration

    QA \ CONFIGURATION_BUILD_DIR="$CWD/build" clean build Similarly, Code signing certificates Provisioning profiles Screenshots Push notification certificates IPA Packaging Submitting to the store 9
  5. 13

  6. Prerequisites Ruby Homebrew > brew update && brew upgrade openssl

    > brew update && brew install ruby RVM Fastlane > sudo gem install fastlane 14
  7. Why Fastlane? Open Source with an awesome community 120+ built-in

    Actions . Extensible too. Part of Fabric CI/CD friendly DRY One time effort 18
  8. Useful links Fastlane Homepage Fastlane Examples by the Community Fastlane

    Actions Advanced Fastlane Code Signing Explained Code Signing using Match 19