I have an app that uses a local git repository. Until today I've had no trouble with git functionality. Today, trying to commit the project, Xcode hangs with the spinning beach ball as soon as the commit window appears. If I try to commit an individual file, it appears to start the commit (that is, it takes a comment), but hangs with a message "Committing..." in the lower-right hand corner.
My git expertise is limited to using it within Xcode and some basics from the command line. I'd appreciate any insights and advice on how to get it working in Xcode again.
Thanks,
John
Perhaps the next thing to check is that the source files are in the expected places.
Also, I'm assuming you have cleaned the build folder, closed the project and re-launched Xcode. If Xcode crashed in the middle of a commit previously, I could believe it might be confused about the state, but those steps ought to resolve that.
Another thing to try is to use Terminal to move the .git folder elsewhere (or, easier, rename it to something else without moving it to a different directory). Again, you'd do that with the project closed. After that, open the project and verify that Xcode thinks it's not under SCM. Them, put the .git folder back, and see what Xcode thinks after you re-open the project yet again. If that's still messed up, I'd guess that the .git directory contents are somehow corrupt.
You could also take a look at the repository using an app like SourceTree, and see if it is confused like Xcode.