I want to add local svn or git repository to my code in Xcode 4. I found help for adding that to a new project. But how do I add that to an old one?
I started working in Xcode 3. Recently I'm using Xcode 4. I want to use Time Line.
Please help.
I was looking for an answer to the same problem. What I have done is followed the steps given by 'adymitruk' and in addition to that from the organizer window of XCode I selected 'Add Working Copy' option and selected my project folder where I had executed the git commands.
Then I double clicked the XCode project file (file with extension '.xcodeproj') from the Repository in Organizer window and that opened my project in XCode. This seems to have worked.
Some documentation from apple can be found at: http://developer.apple.com/library/mac/#documentation/IDEs/Conceptual/Xcode4TransitionGuide/SCM/SCM.html%23//apple_ref/doc/uid/TP40009984-CH7-SW10
Refer the following document's section "Add Git or Subversion Version Control to an Existing Project" which includes the Git commands: http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/SCM/SCM.html%23//apple_ref/doc/uid/TP40010215-CH7-SW9