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:

Supported platforms ios, mac
Author @Liquidsoul

1 Example

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


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