I’ve been bothered by this issue for a long time.
And finally I’d decide to find the best practice today to do this job.
Here are the steps:
Create SVN repository, for example, http://svn.domain.com/myrepo
Create XCode project, Assume the project path is Documents/iosprojects/milkshaker
Open OS X app Terminal which is command line mode.
In terminal, cd to the parent directory of your project directory (Documents/iosprojects in this example)
The most import step, svn import (NOT ADD) as following command
svn import -m “New Import “ milkshaker/ http://svn.domain.com/myrepo
The syntax is
svn import -m “<remark message>“ <project directory>/ <SVN URL>
Key in the userid and password and you’re good to go.
After step 5 was done.
Open XCode app, try Source control->Check out
Key in the SVN URL, userid and password to checkout the project to local directory.
That would be all I want to share, happy SVNing !!