title: How can I add an existing project as a working copy in XCode 4?
body: <p>Today I switched from XCode 3 to XCode 4 and now I have a lot of problems with my projects, which were under version control in XCode 3. If you install XCode 4, it will remember all your repositories. The problem is, that the projects don't know, that they belong to a specific repository. The instructions <a href="http://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/SCM/SCM.html">of Apple</a> are easy, but do not work:<br></p>
  
  <blockquote>
    <p>If you have a working copy of a project that was checked out of Subversion or cloned from Git using the command line or another tool, you can add it to your Xcode SCM repository support. To do so, click the Add button (+) at the bottom of the navigation pane in the repository organizer and choose Add Working Copy.</p>
  </blockquote>
  
  <p>If I choose the project directory, I get this:</p>
  
  <blockquote>
    <p>The working copy could not be added because its repository could not be located.</p>
  </blockquote>
  
  <p>Does anybody know what the problem is? <br><br>
  To avoid confusion, I want to make a few things clear: my projects were under version control in XCode 3 and it worked. I am also aware of the fact, that I could delete all my projects and check them out (I don't want to do that). I already tried to checkout a project, and then this project is automatically added as a working copy. However if I remove the reference and try to add the same (!!) project as a working copy again, it does not work either. </p>