Xcode Create SVN Repository From Existing Project

Creating repository for your xcode project can be a pain if you didn’t do it when you first created the project. It is possible with some command-line commands. The steps are as follow:

  1. Use the mkdircommand to create a directory with three subdirectories named branches,tags, and trunk to hold a temporary copy of your project.
  2. Copy the project directory into thetrunk subdirectory.
  3. Create a directory for the Subversion repository.
  4. Use the svnadmin create command to create an empty Subversion repository.
  5. Use the svn importcommand to import your project directory into the new Subversion repository.

For more details take a look at Setting Up a Subversion Repository.

Xcode Create Git Repository From Existing Project