/ci-integration-ios

Primary LanguageRubyApache License 2.0Apache-2.0

Hipo CI for iOS Initial Directory

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.

Installation

See the steps below for details about the installation.

  1. Download Files
  2. Setup Dependencies
  3. Add project to Bitrise
  4. Customization

Download Files

You can directly download the files from download branch or directly here and copy items to project folder.

Setup Dependencies

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.

Add project to Bitrise

After you complete the installation, you need to setup Bitrise for that project. It will automatically understand the project contains fastlane integration.

Customization

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.