Why does Xcode 4 continually display “Checking source control status” for a git repository?
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.
- Cannot push, pull or merge git. “Working copy has uncommited changes”
- The document “Main.storyboard” could not be be opened
- Xcode tree conflicts on merge
- How to undo xcode discard all changes if not committed
- Why does git add&remove the Storyboard <classes> section repeatedly?
- Xcode 6 Git No Remotes Available
3 Solutions Collect From Internet About “Why does Xcode 4 continually display “Checking source control status” for a git repository?”
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.
Xcode 4.0 has many great ideas with much half-baked implementation. It’s exciting for the future of the tool, and sad for the present. Hopefully 4.3, which will be the next release to coincide with iOS 5 and Lion, will resolve this sort of thing–the docs do talk about addressing some of Xcode’s inadequacies w/r/t git.
In the current version, Xcode’s interaction with git is so hobbled as to be useless. I started trying to use it and gave up. My advice is, just don’t go into the repositories section of the organizer window and continue interacting with your repo on the command line.
Go to Preferences in XCODE , select the Source Control TAB and uncheck the “Enable Source Control” button
- Reachability duplicate symbol
- How to launch another app from an iPhone app
- Xcode 5 “error: can't exec 'codesign' (No such file or directory)”
- What does the Xcode 4.2 preference “Support Wirelessly Connected Devices” do?
- Where does xcode-select store information
- weak property gives me nil when i'm trying to access it swift
- Swift get characteristic.value in decimal
- How can I retrieve a return value from a completion block?
- How do I pass an argument to @selector()?
- iOS UIScrollView Lazy Loading
- Get coordinates of multiple touches in Swift
- Rotate two SKSpriteNodes with SKPhysicsJointFixed in Swift
- UITableView content overlaps Status Bar when UISearchBar is active
- What is the purpose of launch images in an iOS application?
- ?' does not have a member named 'subscript' error in Xcode 6 beta 6