get_version_number¶
Get the version number of your project
This action will return the current version number set on your project.
get_version_number | |
---|---|
Supported platforms | ios, mac |
Author | @Liquidsoul, @joshdholtz |
1 Example¶
version = get_version_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 | |
target |
Specify a specific target if you have multiple per project, optional | |
configuration |
Specify a specific configuration if you have multiple per target, optional |
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action get_version_number