This repo contains Hipo's fastlane files for new iOS projects. In this documentation you can find how to use it and how to customize it.
See the steps below for details about the installation.
You can directly download the files from download branch or directly here and copy items to project folder.
We prefer installing fastlane via Bundler. It also helps to track dependencies easily. So you can see Gemfile in the project.
- Run
$ bundle update
It will install fastlane and other dependencies that we use to your project. Make sure that all files added to version control.
After you complete the installation, you need to setup Bitrise for that project. It will automatically understand the project contains fastlane integration.
If project needs some special CI processes, you may add them to your Fastfile. For example;
platform :ios do
lane :print_app_name do
puts ENV["APP_NAME"]
end
end
It prints the APP_NAME
environment variable. And you can use public lanes as well in this lane.
Also you can override the public lanes if needed
platform :ios do
override_lane :process_variables do
remove_unused_variables
end
end
It does override the remote lane - process_variables
and call another public lane or project specific lane.
In general, you won't need customization but it can be done easily whenever it's necessary.