When I open my project which has a git repo, Xcode continually displays "Checking source control status" at the top of the window. My git repo is working find and I am able to commit changes to it using the command line utility.
Why am I seeing this message? Furthermore, is there any way to get rid of it? I would like to rename my Xcode project, but with this issue, I can't. When trying to rename the project, Xcode gives the error: The operation could not be performed because the repository could not be reached.
One workaround, if you don't want to have any interaction with Git in your XCode project would be to move the .git
directory elsewhere.
You can still perform any git operation you want from a shell, with the environment variable GIT_DIR
set to the external path where the .git
has been moved (or adding the option --git-dir=/path/to/external/.git
to any of your git commands).
But XCode shouldn't be aware of that external .git and shouldn't try to contact a repo anymore, allowing you to perform any XCode operation you want, like renaming the XCode project.