Skip to main content
All CollectionsKnowledge BaseGeneral issues
Failed to get a simulator Unique Device Identified (UDID)
Failed to get a simulator Unique Device Identified (UDID)
Updated over a week ago

Issue:

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))

Possible solutions:

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.

No device requirement

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.

Specific device needed

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.

Did this answer your question?