Integrate Fastlane to iOS project: Lesson 8

Update Fastlane version and install CocoaPoads before build

Mark
1 min readSep 7, 2018

Last lesson, we talk about Fastlane Gym and action alias.

This time, we will talk about how to update your Fastlane in Terminal, install cocoapods before you build the project.

Update Fastlane

This is a very simple step. Just type bundle exec fastlane. And, when should I know I need to update Fastlane? You can see the following screen when you finish a lane job in Fastlane.

Ask you to update Fastlane after finish a lane

Check CocoaPoads before Build

I guess CocoaPoads won’t be new for the iOS developer, if you don’t familiar what this is, please check out CocoaPods.

Add cocoapods in your Fastfile.

// Fastfile
lane
:build_app do
cocoapods()
match
()
gym()
...
end

This action is same as pod install cmd.

What’s next?

Next lesson, we will upload our build to TestFlight.

--

--