##Fastlane
Fastlane is a tool meant to be used to streamline iOS build release process.
###Steps to execute a lane:
- Checkout this repo in your project folder.
fastfileshould reside infastlanefolder inside the project root andfastspecfile should reside directly inside the project root.- Open terminal and set your working directory to your project folder.
$cd <project path>
- Run
$fastlane <lane_to_be_executed>
####testflight
Use this lane to upload your builds directly to app store. This lane uses iOS provisioning repo to store provisionings.
$fastlane testflight
####testflight_local
Use this lane to upload your builds directly to app store. This lane uses certificates and provisionings stored locally on your system.
$fastlane testflight_local
####hockey
- Use this lane to upload Adhoc builds to Hockey app.
- You will have to mention hockey api token additionally in
fastspecfile.
$fastlane hockey
####github_release
Use this lane to add a github tag once the build is approved on store.
$fastlane github_release
fastspecfile will contain all the required identifiers & keys in JSON format.- Here is a sample fastspec file snipped:
{
"app_identifier": "<bundle identifier>",
"output_name" : "<.ipa name>",
"slack_channel_url" : "<slack channel webhook url>",
"api_token" : "<github api token of the user>",
"git_url" : "<url of github repository storing certificates & provisionings>",
"hockey_api_token" : "<API token for hockey app>",
"repository_name" : "<github repository name. Example: punchh/framework-ios>"
}