xcversion [DEPRECATED]
Community Action Reference: Inspected directly from Fastlane core ruby gem definitions.
Supported Platforms: ios, mac
Select an Xcode to use by version specifier
Details
Finds and selects a version of an installed Xcode that best matches the provided Gem::Version requirement specifier
You can either manually provide a specific version using version: or you make use of the .xcode-version file.
Parameters & Options
Total options available: 1
| Key | Type | Env Variable | Default | Required | Description |
|---|---|---|---|---|---|
version |
String |
FL_XCODE_VERSION |
- |
Yes | The version of Xcode to select specified as a Gem::Version requirement string (e.g. ’~> 7.1.0’). Defaults to the value specified in the .xcode-version file |
Examples
xcversion(version: "8.1") # Selects Xcode 8.1.0xcversion(version: "~> 8.1.0") # Selects the latest installed version from the 8.1.x setxcversion # When missing, the version value defaults to the value specified in the .xcode-version fileSource & Upstream
- Gem Action:
xcversion.rb - Upstream Source: Inspect Ruby Implementation on GitHub
- Authors:
oysta,rogerluan