Nitish
Nitish

Reputation: 14113

Export XCode 6 project to SVN repository

Everywhere I search, I get half the solution for exporting Xcode project on Subversion. And for Xcode6, I am not able to find any reliable link.

I have created an iOS project on Xcode6. And now I want to export it to Subversion. The server admin has created my credentials and I have them along with server url. He has created a blank repository on the server too. I have created Repository from Xcode -> Preferences -> Add Repository. But that's all. I am not able to proceed further.

How should I export the project from Xcode6 to SVN?

Upvotes: 5

Views: 4875

Answers (2)

Syed Uzair Ahmed
Syed Uzair Ahmed

Reputation: 145

  1. First Go to Preferences -> Accounts.
  2. Click on "+" then Add Repository.
  3. Add your Credentials.
  4. It will Validate.

Once its Authenticated Or Validated Go to Source Control

  1. Click on Create Working Copy / Copies.
  2. It will make Working Copy For you.
  3. Then after that Commit Button will be now clickable.
  4. Click on Commit.

And Here We Go

Your Code will start to upload on the validated repo.

Upvotes: 0

Richard
Richard

Reputation: 3297

The easiest way is probably to do this via the terminal.

  1. Close Xcode
  2. Go to the project's folder in the Terminal (cd path/to/project)
  3. Use the svn importcommand:

    svn import -m "New Import"  MyProject/ https://myserver.me.com/svn/trunk/MyProject
    
  4. And finally checkout the project using

    svn co https://myserver.me.com/svn/trunk/MyProject
    

Upvotes: 20

Related Questions