If you select a combination of device and OS that is not pre-installed in an Xcode stack, you might get the following error message:
failed to get simulator udid, error: %!(EXTRA *errors.errorString=failed to get latest os version, error: failed to find latest os version for (iOS) - (devicen name))
To make sure there's enough free space on each Virtual Machine, Bitrise limits the number of simulators for different iOS versions that are included in the Xcode stack by default.
If you have no specific device requirement, you can simply switch to another simulator. A list of pre-installed simulators by stack can be found on our GitHub page.
If you need a specific device, you can install it by adding your code to the Script Step.
Alternatively, you can install every simulator for iOS 12 with this line of script for example:
xcversion simulators --install='iOS 12.0' --verbose
Please note that this can take significant build time, so we recommend limiting the number.