xcode_select
Change the xcode-path to use. Useful for beta versions of Xcode
Select and build with the Xcode installed at the provided path.
Use thexcodes
action if you want to select an Xcode:
- Based on a version specifier or
- You don't have known, stable paths, as may happen in a CI environment.
xcode_select | |
---|---|
Supported platforms | ios, mac |
Author | @dtrenz |
1 Example
xcode_select("/Applications/Xcode-8.3.2.app")
Documentation
To show the documentation in your terminal, run
fastlane action xcode_select
CLI
It is recommended to add the above action into your Fastfile
, however sometimes you might want to run one-offs. To do so, you can run the following command from your terminal
fastlane run xcode_select
To pass parameters, make use of the :
symbol, for example
fastlane run xcode_select parameter1:"value1" parameter2:"value2"
It's important to note that the CLI supports primitive types like integers, floats, booleans, and strings. Arrays can be passed as a comma delimited string (e.g. param:"1,2,3"
). Hashes are not currently supported.
It is recommended to add all fastlane actions you use to your Fastfile
.
Source code
This action, just like the rest of fastlane, is fully open source, view the source code on GitHub