xcversion

Select an Xcode to use by version specifier

Finds and selects a version of an installed Xcode that best matches the provided Gem::Version requirement specifier

xcversion
Supported platforms ios, mac
Author @oysta

2 Examples

xcversion(version: "8.1") # Selects Xcode 8.1.0
xcversion(version: "~> 8.1.0") # Selects the latest installed version from the 8.1.x set

Parameters

Key Description
version The version of Xcode to select specified as a Gem::Version requirement string (e.g. '~> 7.1.0')


To show the documentation in your terminal, run

fastlane action xcversion

View source code


Back to actions