Make sure a certain version of Xcode is installed

Makes sure a specific version of Xcode is installed. If that's not the case, it will automatically be downloaded by the xcode_install gem. This will make sure to use the correct Xcode for later actions.

Supported platforms ios, mac
Author @Krausefx
Returns The path to the newly installed Xcode version

1 Example

xcode_install(version: "7.1")


Key Description
version The version number of the version of Xcode to install
username Your Apple ID Username
team_id The ID of your team if you're in multiple teams

To show the documentation in your terminal, run

fastlane action xcode_install

View source code

Back to actions