When running an Xcode Cloud workflow pinned to Xcode 26.1, macOS 26.1 and using a Test Destination for iPhone 15 Pro and iOS 26.1, the following error appears in the xcodebuild-build-for-testing.log:
2025-11-13T19:08:31.855137440Z xcodebuild: error: Unable to find a destination matching the provided destination specifier:
2025-11-13T19:08:31.855318998Z { platform:iOS Simulator, id:704F84C8-025F-4F70-B2D9-FF19B7DC098F }
2025-11-13T19:08:31.855362640Z
2025-11-13T19:08:31.855370957Z Ineligible destinations for the "Inbound" scheme:
2025-11-13T19:08:31.855381964Z { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 26.1 is not installed. Please download and install the platform from Xcode > Settings > Components. }
This can be fixed if ci_pre_xcodebuild.sh is updated with the following:
# Get Xcode major version
# `xcodebuild -version` returns something like:
# Xcode 26.0.1
# Build version 17A400
XCODE_VERSION=$(xcodebuild -version | head -n 1 | awk '{print $2}' | cut -d. -f1)
if [ "$XCODE_VERSION" -ge 26 ]; then
if xcodebuild -downloadPlatform iOS >/dev/null 2>&1; then
echo "iOS platform is installed"
else
echo "iOS platform is not installed. Failing the build."
exit 1
fi
fi
Changing the workflow to use "Latest Release" of Xcode (26.1), macOS (26.1) and the Latest Test Destination iOS (26.1) version provided also does not work.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud