Version control of iOS development

Source: Internet
Author: User

Versioning is especially important for teamwork, so how do you version control in iOS development? In today's blog, we will show you how to configure the SVN server under Mac, how to import our project, how to checkout and commit the project in Xcode.

First, configure the SVN server

1. Create an SVN service work path while creating a new app project, as shown in, Svn_project is the working path of the SVN service, MyProject is our iOS project

2, under the Mac has its own SVN service function (under Windows is not), directly in the terminal to open the SVN service, while opening the service and specify the SVN working path

(1) Start SVN service command: svnserve-d-r working path:

(2) The terminal is as follows:

3, after the SVN service starts, to create the SVN management file, the management file has the various configuration about SVN

(1) Create a management file in the Working Directory command: svnadmin create Mysvnproject

(2) After the management file is created successfully, its directory structure is as follows:

(3) Next to configure our SVN, open the Conf folder as follows:

  

(4) Configure the svnserve.conf file, remove the temporary note with a #:

(5) Add user name and password in passwd

(6) Management of user groups in Authz

Two. Import the project into SVN

1. If you want to import our project into SVN, you need to use a tool svnx,svnx to connect to the SVN server, followed by the SVN management file, the user name and password is the user name and password added in the configuration file

2. After the login is successful, import our iOS project.

Iii. Check out project in Xcode (Beta version of Xcode6.1 when used below)

1. Check out a existing Project in Welcome Xcode, as shown in:

2. Connect to the SVN server (the SVN managed file is still behind the IP):

3. Check Out Project

  

4. Open the project locally and manage the project in source control

      

Version control of iOS development

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.