Build it, Test it, Deliver it! Complete iOS Guide on Continuous Delivery with fastlane and Jenkins

S.T.Huang
Apr 5, 2018 · 11 min read

Outline

Setup your project

Sign the code manually

Build with fastlane 🚀

bundler exec fastlane init swift
bundle exec fastlane <lane name>.
export KEYCHAIN_NAME=”KEYCHAIN_NAME”;
export KEYCHAIN_PASSWORD=”YOUR_PASSWORD”;
bundle exec fastlane qaRelease
bundle exec fastlane developerRelease

Jenkins’ll be your server for tonight

H 0 * * 0–4
H 0 * * 0–4
export LC_ALL=en_US.UTF-8;
export LANG=en_US.UTF-8;export CODESIGNING_PATH=”/path/to/cert”;
export CERTIFICATE_PASSWORD=”xxx”;
export KEYCHAIN_NAME=”XXXXXXXX”;
export KEYCHAIN_PASSWORD=”xxxxxxxxxxxxxx”bundle install — path vendor/bundler
bundle exec fastlane developerRelease

Summary

Flawless iOS

🍏 Community around iOS development, mobile design, and marketing

S.T.Huang

Written by

S.T.Huang

I’m ShihTing Huang(黃士庭). I brew iOS app, front-end web app, and of course, coffee and beer!

Flawless iOS

🍏 Community around iOS development, mobile design, and marketing