15

In xcode 4 organizer there was a button "import", in xcode5 how do I import a project in my svn repository?

thanks

matti157
  • 1,288
  • 2
  • 13
  • 26

2 Answers2

16

The question is a bit confusing so please advise if it's not exactly what you need (otherwise, feel free to accept the answer). The confusion is that the Xcode 4 workflow you describe is used to allow developers to manage repositories (svn or git). If you want to take an Xcode project and add it to an existing svn repository I am attaching links to answers for that question.

Adding Xcode Projects to SVN:

High-level Concepts (Xcode 4 Workflow in Xcode 5):

  • Tell Xcode 5 about a repository (it will auto detect the type of svn or git)
  • Check-out the repository for insertion into a different project

Background:

In Xcode 4.6.3 there was a repository area of the organizer. This is where subversion and git projects were managed.

Xcode 4.6.3 Repositories

New Workflow:

The new location for this information in Xcode 5 is in Xcode > Preferences > Accounts > Repositories (menu on the left) > (+) Add Repository... (on the lower left)

Once selected one may enter a repository address (local or external): Enter a repo address

And give the repository a directory name (credentials for many public read only repos are optional): Repo description

With Xcode 5, one can then download the repository to a target folder by going to menu Source Control > Check Out... Repo Checkout

As part of the checkout wizard one will be authenticated to the repository: Server Authorization

Select a target folder to store the local repo:

Select a target folder

Edit basic repo properties:

Basic Repo Properties For more information on adding projects to repositories:

Xcode 5 Source Control Management Documentation

Community
  • 1
  • 1
Tommie C.
  • 12,895
  • 5
  • 82
  • 100
  • How can i view files on the SVN server using xcode 5 svn client – iphonedev23 Oct 22 '13 at 06:12
  • @iphonedev23 You will need to open a separate question for viewing files on the SVN Server. Generally, you can view files locally after you checkout a working copy of the svn project. (Source Control > Checkout...).. During the process you will see the various trunk, branches, etcetera that are available on the SVN server. – Tommie C. Oct 22 '13 at 07:18
3

As far as I can see, you need to know the exact path to be able to check out a project. This seems like a step backwards.

Nostradamus
  • 1,497
  • 3
  • 20
  • 34
  • 1
    If you add an extra / to the end of your repository location, it will show you a window so you can browse through your repository – Tom Feb 04 '14 at 14:26