You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
xcodes runtimes install returns immediately with 'Finished' when run without TTY (SSH non-interactive) #455
When running xcodes runtimes install via SSH without a TTY (e.g., through Ansible or ssh user@host 'command'), the command returns immediately with "Finished" output and exit code 0, even though the runtime download has not started or completed.
Observe that the command returns immediately with:
Finished
Verify that no runtime was actually installed:
xcrun simctl list runtimes
Shows no iOS 18.1 runtime.
Expected Behavior
The command should block and download the runtime, showing progress, even when run without a TTY. Or, if TTY is required, it should fail with a clear error message rather than silently claiming success.
This issue makes it difficult to automate runtime installation via configuration management tools like Ansible, which don't allocate TTYs by default. The command should either work without a TTY or fail clearly instead of silently succeeding without doing anything.
Activity
jdillon commentedon Nov 14, 2025
I'm guessing something in the impl is failing to do the fancy progress bar and then it short-circuits to thinking it was done? Just a guess though.