DEV Community

Cover image for Setting up fastlane when you don't know what you are doing

Setting up fastlane when you don't know what you are doing

Jess Chandler on February 06, 2018

Originally published in my 100 days of code log I had seen several apps in the app store with cool screenshots with frames and titles, and I reall...
Collapse
 
kayis profile image
K

Very good article, gonna stash it for my next project :D

Sadly I had to switch back to "regular" Xcode builds today.

Somehow I couldn't get HealthKit capability working with fastlane/match.

Collapse
 
jessachandler profile image
Jess Chandler

I haven't used HealthKit, but I was facing a little difficulty when fastlane kept originally thinking my project was my first pod. Fixing the Appfile made mine magically work. I wish you good luck in future!!

Collapse
 
ben profile image
Ben Halpern

@maestromac definitely sending you to this post if we ever get into native-mobile world.

Collapse
 
mrtnrst profile image
Martin Arista • Edited

This is awesome @jessachandler ! πŸ™ŒπŸΌπŸŽ‰ Fastlane has saved me so much time and energy and once you set it up you can let CI do it's job and never have to think about it.

I also have mine setup to handle .env to keep keys and sensitive data out of the repo and it works like a charm.

For instance using Match to load certificates:

fastlane_require 'dotenv' 

lane :installCerts do
  match(
    git_url: ENV['MATCH_REPO_URL'],
    username: ENV['MATCH_USERNAME'],
    app_identifier: ENV['APP_IDENTIFIER'],
    readonly: true
  )
end
Collapse
 
jessachandler profile image
Jess Chandler

Thanks for the props. I :greenheart: Fastlane :rocket: !