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

Living in the Fastlane

Living in the Fastlane

If you need to submit more that one app to App Store or Google Play store, this talk is for you! Here is how we automated our App Deployment Pipeline. We can now submit ~100 apps to the App Store at Victorious with a single command. You'll learn how to use Fastlane so you can use it for your needs too.

Presented at the CocoaHeads Los Angeles meetup http://www.meetup.com/CocoaHeads-LA/events/230662812/
Video Recording: https://www.youtube.com/watch?v=pz3gVnIlpyI

Alexander Tamoykin

May 12, 2016
Tweet

More Decks by Alexander Tamoykin

Other Decks in Programming

Transcript

  1. WHY WHY FASTLANE ▸ Open Source Community Support ▸ Maintained

    by Twitter ▸ DRY (Don’t Repeat Yourself)
  2. HOW FASTFILE platform :ios do desc "Deploy a new version

    to the App Store" lane :deploy do |options| # <—— your code goes here end end
  3. HOW APPFILE # The bundle identifier of your app app_identifier

    “com.mycompany.myapp” # from Xcode team_name “My Company Inc.” # from Xcode team_id “123ABC123ABC”
  4. HOW METADATA ▸ Lives inside the metadata folder ▸ Categories

    should match Apple Provided List of categories ▸ Namespaced by language
  5. HOW SUBMIT MULTIPLE APPS ▸ Environment variables to the rescue

    ▸ https://github.com/rightbalance/ temporary_environment
  6. HOW TEMPORARY ENVIRONMENT VARIABLES require 'temporary_environment' puts ENV['MY_AWESOME_ENV_VARIABLE'] # nil

    TemporaryEnvironment.with_env_variable( key: 'MY_AWESOME_ENV_VARIABLE', value:’SOME_USEFUL_VALUE' ) do puts ENV['MY_AWESOME_ENV_VARIABLE'] # SOME_USEFUL_VALUE end puts ENV['MY_AWESOME_ENV_VARIABLE'] # nil
  7. RECAP NOW WHAT? ▸ http://fastlane.tools ▸ https://github.com/fastlane ▸ Say Hi:

    ▸ Alex on twitter: @fsproru ▸ Michael on LinkedIn: https://www.linkedin.com/in/ michael-montgomery-a7b45028