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
mkdir
command to create a directory with three subdirectories namedbranches
,tags
, andtrunk
to hold a temporary copy of your project. - Copy the project directory into the
trunk
subdirectory. - Create a directory for the Subversion repository.
- Use the
svnadmin create
command to create an empty Subversion repository. - Use the
svn import
command to import your project directory into the new Subversion repository.
For more details take a look at Setting Up a Subversion Repository.