xcodebuild hangs resolving the simulator destination
xcodebuild stalls while resolving or selecting a simulator destination — sometimes for minutes — before a single test runs.
Symptom-first writeups of the operational failures that show up around
local XCTest, xcodebuild, simctl, and the iOS
Simulator. Each page is useful on its own — quick checks and manual
mitigations first, and an honest note on where XCSteward may or may not
help.
These are the kinds of phrases people paste after a local run wedges:
simulator boot hangs, destination resolution stalls, simctl
stops responding, or the test runner never attaches.
xcodebuild hangs resolving simulator destination xcodebuild hangs resolving the simulator destination xcodebuild stuck resolving destination xcodebuild hangs resolving the simulator destination xcodebuild test hangs before tests start xcodebuild hangs resolving the simulator destination xcodebuild stuck before Testing started xcodebuild hangs resolving the simulator destination xcodebuild hangs at Resolving destination specifier xcodebuild hangs resolving the simulator destination xcodebuild generic/platform=iOS Simulator slow xcodebuild hangs resolving the simulator destination xcodebuild unable to find a device matching the destination xcodebuild destination unavailable or ineligible xcodebuild ineligible destinations xcodebuild destination unavailable or ineligible xcodebuild destination unavailable xcodebuild destination unavailable or ineligible Ineligible destinations for scheme xcodebuild destination unavailable or ineligible Unable to find a destination matching the provided destination specifier xcodebuild destination unavailable or ineligible requested device could not be found simulator xcodebuild destination unavailable or ineligible xcodebuild timed out waiting for simulator xcodebuild timed out waiting for the simulator timed out waiting for the simulator to boot xcodebuild timed out waiting for the simulator timed out waiting for simulator to be ready xcodebuild timed out waiting for the simulator xcodebuild failed to boot simulator timeout xcodebuild timed out waiting for the simulator xcodebuild simulator boot timeout xcodebuild timed out waiting for the simulator failed to background test runner timeout simulator xcodebuild timed out waiting for the simulator unable to boot the simulator Unable to boot the iOS simulator simctl unable to boot device Unable to boot the iOS simulator Unable to boot device in current state Booted Unable to boot the iOS simulator unable to boot device runtime bundle Unable to boot the iOS simulator ios simulator stuck booting Unable to boot the iOS simulator simulator will not boot macos Unable to boot the iOS simulator ios simulator booted but tests never start iOS simulator booted but tests never start simulator boots but app does not launch iOS simulator booted but tests never start xcodebuild test stuck after simulator boot iOS simulator booted but tests never start xcodebuild stuck waiting for test runner iOS simulator booted but tests never start xcodebuild hangs after Booted simulator iOS simulator booted but tests never start simulator booted tests not running iOS simulator booted but tests never start simctl commands not responding simctl commands not responding or hanging xcrun simctl list hangs simctl commands not responding or hanging simctl boot hangs forever simctl commands not responding or hanging xcrun simctl shutdown all hangs simctl commands not responding or hanging simctl list devices never returns simctl commands not responding or hanging simctl not responding macos simctl commands not responding or hanging CoreSimulatorService deadlock CoreSimulatorService deadlock and unresponsive simulators CoreSimulatorService not responding CoreSimulatorService deadlock and unresponsive simulators com.apple.CoreSimulator.CoreSimulatorService hung CoreSimulatorService deadlock and unresponsive simulators CoreSimulatorService connection invalid CoreSimulatorService deadlock and unresponsive simulators simulator subsystem hung macos CoreSimulatorService deadlock and unresponsive simulators CoreSimulator service stuck CoreSimulatorService deadlock and unresponsive simulators unable to connect to simulator Unable to connect to the iOS simulator lost connection to test manager simulator Unable to connect to the iOS simulator Lost connection to the test manager service Unable to connect to the iOS simulator test runner never connects simulator Unable to connect to the iOS simulator xcodebuild test runner never attaches Unable to connect to the iOS simulator could not connect to simulator xcodebuild Unable to connect to the iOS simulator killing simulator does not fix xcodebuild Killing the Simulator app does not fix xcodebuild quit simulator still hangs xcodebuild Killing the Simulator app does not fix xcodebuild force quit simulator app not working Killing the Simulator app does not fix xcodebuild simulator killed but xcodebuild still stuck Killing the Simulator app does not fix xcodebuild deriveddata contamination between test runs DerivedData contamination between iOS test runs xcodebuild stale deriveddata test results DerivedData contamination between iOS test runs xcresult overwritten parallel runs DerivedData contamination between iOS test runs isolate deriveddata per test run DerivedData contamination between iOS test runs simulator fails after previous run Simulator fails after a previous test run second xcodebuild test run hangs Simulator fails after a previous test run simulator works first time then fails Simulator fails after a previous test run reset simulator between test runs Simulator fails after a previous test run multiple xcodebuild processes same mac Multiple xcodebuild processes on the same Mac two xcodebuild runs at once conflict Multiple xcodebuild processes on the same Mac concurrent xcodebuild simulator collision Multiple xcodebuild processes on the same Mac serialize xcodebuild jobs macos Multiple xcodebuild processes on the same Mac fastlane scan hangs after tests fastlane scan hangs after tests finish fastlane scan never exits fastlane scan hangs after tests finish xcodebuild test hangs after tests pass fastlane scan hangs after tests finish scan stuck after test run complete fastlane scan hangs after tests finish fastlane scan parallel testing hang fastlane scan hangs with parallel testing xcodebuild parallel-testing-enabled hangs fastlane scan hangs with parallel testing parallel simulator clones stuck fastlane scan hangs with parallel testing concurrent destinations simulator hang fastlane scan hangs with parallel testing no devices found ios simulator ci No devices found for the iOS simulator in CI no simulator devices on ci runner No devices found for the iOS simulator in CI xcodebuild no destinations ci No devices found for the iOS simulator in CI ci simulator runtime not available No devices found for the iOS simulator in CI github actions ios simulator hang GitHub Actions iOS simulator job hangs github actions xcodebuild stuck booting simulator GitHub Actions iOS simulator job hangs macos runner simulator timeout GitHub Actions iOS simulator job hangs github actions ios test job hangs GitHub Actions iOS simulator job hangs coding agents running ios simulator tests Coding agents running iOS simulator tests on one Mac multiple xcodebuild runs same mac conflict Coding agents running iOS simulator tests on one Mac ai agents ios tests simulator collisions Coding agents running iOS simulator tests on one Mac parallel simulator tests wedge mac Coding agents running iOS simulator tests on one Mac ai coding agent xcodebuild timeout AI coding agent hits xcodebuild timeouts coding agent ios tests hang AI coding agent hits xcodebuild timeouts agent xcodebuild stuck simulator AI coding agent hits xcodebuild timeouts coding agent xcodebuild hangs before tests start AI coding agent hits xcodebuild timeouts agent retry storm xcodebuild simulator AI coding agent hits xcodebuild timeouts claude cursor xcodebuild timeout simulator AI coding agent hits xcodebuild timeouts Resolving a destination, booting a device, and getting it actually ready before tests start.
xcodebuild stalls while resolving or selecting a simulator destination — sometimes for minutes — before a single test runs.
xcodebuild errors out that the destination is unavailable or ineligible — no device matches the specifier — instead of running tests.
xcodebuild aborts with a timeout waiting for the simulator to boot or to be ready, instead of running the tests.
Booting a simulator fails outright ("Unable to boot device") or the device sits in Booting forever and never reaches Booted.
The simulator boots and reaches the home screen, but the app never launches and testing never begins — the run just sits there.
The simctl client and CoreSimulatorService daemon becoming unresponsive, wedged, or deadlocked.
xcrun simctl commands (list, boot, shutdown, spawn) hang indefinitely and never return — even simple ones like simctl list.
CoreSimulatorService stops responding and the whole simulator subsystem wedges — simctl, Simulator.app, and xcodebuild all block at once.
The device is up but the run cannot connect to it — the test runner never attaches, or you see "Unable to connect to" / lost-connection errors.
You quit or force-kill Simulator.app, but xcodebuild and simctl stay wedged — the hang survives killing the app.
Stale device state, contaminated artifacts, and concurrent processes colliding over shared tooling.
Test runs interfere through shared DerivedData, result bundles, or logs — you get stale builds, overwritten .xcresult, or results from the wrong run.
The first run is fine, but the next test run on the same simulator fails or hangs — state from the previous run leaked into this one.
Several xcodebuild/simctl processes run at once on one Mac and start colliding over simulators, destinations, and build state.
All tests pass, but fastlane scan never exits — it hangs after the last test during teardown, result-bundle writing, or simulator shutdown.
fastlane scan or xcodebuild hangs once parallel testing spins up multiple simulator clones that contend for the simulator subsystem.
Symptoms specific to CI and CI-like runner environments on a Mac.
A CI or CI-like Mac job fails with no iOS simulator devices found for the destination, even though it works on a developer machine.
An iOS test job on a macOS runner hangs at simulator boot or destination resolution and eventually hits the job timeout.
Failures that surface or worsen when coding agents drive test runs on a shared Mac.
Coding agents and scripts run xcodebuild/Simulator tests concurrently on one Mac, and runs start colliding, wedging, and failing unpredictably.
A coding agent running iOS tests keeps hitting xcodebuild timeouts or hangs — frequently because its runs collide with other simulator activity.
18 failure modes and counting.