Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set up SVN repository in xCode 9.0

With xCode 9.0, I am facing problem with SVN setup.

I could not find any option to add SVN repository which was working proper with earlier versions of xCode.

In source control, I am getting GIT everywhere. I am using SVN for long time and was properly working with earlier versions of xCode but this is not working with xCode 9.0.

like image 780
iLearner Avatar asked Sep 22 '17 05:09

iLearner


People also ask

What is SVN repository used for?

A Subversion repository — abbreviated SVN repository — is a database filled with your code, files, and other project assets. A SVN repository maintains a complete history of every change ever made.


3 Answers

If you have older version of xcode and above method of upgrade is not working or cannot be used then Terminal can be used to upgrade.

  1. Go to Terminal
  2. change directory to the project folder base, using cd command
  3. To verify if you are at the base run the command "ls -l". You should see a folder named .svn
  4. run the command "svn upgrade"
  5. If you see Upgraded message then all done OK. Restart Xcode to see the SVN commands under Source Control menu.
like image 157
HelloWorld Avatar answered Oct 21 '22 09:10

HelloWorld


I could checkout a SVN repository from Xcode 9.2

I went to source control->clone->choose option svn and authentication and checkout.

like image 42
Sagar D Avatar answered Oct 21 '22 10:10

Sagar D


I am adding this answer as I found work around for this (Not as a full fledge solution)

If you have upgraded your xCode version to 9.0, and could not find anything to attach your code to SVN repository then following steps will help you out:

  1. Take latest checkout from Terminal
  2. Open you code in xCode8 (> 8.0 and < 9.0)
  3. GO to Source Control
  4. You may get an alert to upgrade subversion to 1.9
  5. Click on upgrade
  6. Now open same code in xCode9.0, you are now ready for all svn commits and updates.

enter image description here

enter image description here

like image 1
iLearner Avatar answered Oct 21 '22 09:10

iLearner