Configure Svn in xcode 4.2

Source: Internet
Author: User

Today we will talk about xcode configuration.

(1) Take creating a new project as an example. First, open xcode 4.2, open windows> organizer> repository, click "+" in the lower left corner of the screen, and select "add ".Repository ".

(2) In the pop-up window, fill in the svn server information: name can be based on your own project name, location fill in the address of the corresponding project on your SVN server, select subvision for type as follows:

(3) If the svn server is connected normally, a window will pop up asking you to enter the user name and password, as shown below:

(4) If the verification succeeds after clicking OK, a window will pop up asking you to configure the corresponding directories of trunk, branches, and tags, if you have created three directories with the same name on the svn server, you do not need to modify them here. The default value is as follows:

(5) The configuration has been completed. Check the repository of testsvn on the left of the window. There should be a little green dot next to it, and click the root directory at the same time, you can see the branches, tags, and trunck directories on the server in the right window (click the refresh button if not), as shown below:

(6) So far, our xcode and ssvn servers have been connected. below, it is no big difference from using source control locally.

If a new project is created, create a project in xcode (note that the source control option should not be selected when the project is created, because we need to use our own SVN ), import all the files under the new project to the trunck directory under testsvn, and then re-checkout to the local for editing.

If you want to migrate an existing project, directly import all the files in the original project directory to the trunck directory of testsvn (if you used xcode's source control or other version management tools, you 'd better copy them againCode), And then re-checkout to the local to edit.

The above is the main method for using SVN for code management in xcode 4.2. In fact, it is not very complex. In previous versions of xcode, code management excludes an SCM module. In xcode4.2, this function is integrated into organizer, so many people feel confused. Of course, there are still many useful and complex functions in code management, so it is not time to write them all carefully. You are welcome to leave a message to discuss them.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.