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:
- Use the
mkdircommand to create a directory with three subdirectories namedbranches,tags, andtrunkto hold a temporary copy of your project. - Copy the project directory into the
trunksubdirectory. - Create a directory for the Subversion repository.
- Use the
svnadmin createcommand to create an empty Subversion repository. - 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.