in Xcode 4 how to associate a project to the local Git repository I set up?
That is:
- I’ve set up a Git repository after the Xcode 4 project was already created, based on instructions here:
- I’ve gone to Organizer and “added” this as a local Git repository
- When I go to my project in Xcode 4 the source code functions still don’t appear to work – I’m guessing it because there must be some way of tying the Xcode Project wiht the local repository I created?
From “How to Create Git Repos for Existing Xcode Projects“:
So in your case, it should detect it.
The OP Greg comments:
Otherwise you can try:
Not your case probably, but one of the comments mentions:
That was actually the issue for another Xcode 4 Git user here on SO.