Device Details:
- MBP M2 Pro AND MBP M3 Pro
- macOS 26.3 (25D125)
- Xcode Version 26.3, 26.2, 26.1 (I reinstalled all 3 of these after the macOS update)
BUG: Xcode hangs indefinitely when performing Source Control operations (Pull or Push) on a Git repository that uses SSH authentication. The same repository works correctly when performing the equivalent Git operations from the Terminal using the Git CLI.
The issue appears to be specific to Xcode’s internal Source Control integration. When the operation is triggered from Xcode, the UI shows a spinning progress indicator and never completes. Terminal Git commands (git fetch, git pull, git push) complete normally using the same SSH key and repository.
A hang sample taken during the issue shows the Xcode main thread blocked in Source Control authentication and fingerprint handling code paths, including:
- IDESourceControlUIHandler
- IDESourceControlFingerprintManager
- handleAuthenticationFailure
- showFingerprintAlertOnWindow
This suggests Xcode may be waiting on a Source Control authentication or host fingerprint UI flow that never resolves.
SSH connectivity itself is functioning correctly:
ssh -T git@bitbucket.organdssh -T git@github.comboth authenticate successfully.- git ls-remote, git fetch, git pull, and git push all work correctly from Terminal.
- No Source Control accounts are configured in Xcode Preferences. Authentication relies entirely on SSH keys.
Steps to Reproduce
-
Configure an SSH key for Git access (e.g., Bitbucket or GitHub) and confirm it works via Terminal.
-
Clone or open an existing Git repository that uses SSH (git@host:repo.git).
-
Open the project/workspace in Xcode.
-
In Xcode, attempt a Source Control operation such as:
- Source Control → Pull
- Source Control → Push
- Observe that Xcode displays a spinning progress indicator and does not complete the operation.
Logs available on this Feedback Assist ID: FB22146913