Ensure the right version of Xcode is used
If building your app requires a specific version of Xcode, you can invoke this command before using gym.
For example, to ensure that a beta version of Xcode is not accidentally selected to build, which would make uploading to TestFlight fail.
You can either manually provide a specific version using
version:or you make use of the
|Supported platforms||ios, mac|
||Xcode version to verify that is selected|
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action ensure_xcode_version