get_build_number

Get the build number of your project

This action will return the current build number set on your project.
You first have to set up your Xcode project, if you haven't done it already: https://developer.apple.com/library/ios/qa/qa1827/_index.html.

get_build_number
Supported platforms ios, mac
Author @Liquidsoul

1 Example

build_number = get_build_number(xcodeproj: "Project.xcodeproj")

Parameters

Key Description Default
xcodeproj optional, you must specify the path to your main Xcode project if it is not in the project root directory
hide_error_when_versioning_disabled Used during fastlane init to hide the error message false

* = default value is dependent on the user's system


To show the documentation in your terminal, run

fastlane action get_build_number

View source code


Back to actions