Using subversion to manage iOS source code

Source: Internet
Author: User

1. Installing and configuring the Subversion server

install visualsvn-server,http://www.visualsvn.com/server/download/on the Windows Server. With the default installation, install finish to create a server code warehouse Hello,.

 

then, in the users right-click to create the user Tony, and then back to the Hello Warehouse right->properties, Tony user authorization can access the Hello warehouse.
If there is no problem in the browser through the https://192.168.1.103/svn/hello/URL, the server side is installed and configured.

2. Configuring the Subversion Client for Mac OS X
The General Mac OS X has already installed the Subversion client, does not need to install again, but because the client wants to access the server, need to carry on the security authentication. Https://192.168.1.103/svn/hello/explains that this is a computer that employs the authentication SSL that you need to authorize the client to be Xcode's Mac OS x.
To do this, you need to enter in the client terminal:
$SVN list https://192.168.1.103/svn/hello/
Error Validating server certificate for ' https://192.168.1.103:443 ':
-The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
-The certificate hostname does not match.
Certificate Information:
-HOSTNAME:ZZR-PC
-Valid:from Tue, Mar 13:15:03 GMT until Fri, Mar 2022 13:15:03 GMT
-ISSUER:ZZR-PC
-fingerprint:fe:1b:4d:c1:27:b1:d1:cd:04:9f:11:ca:bb:93:0f:42:91:d2:0f:38
(R) eject, accept (t) emporarily or accept (p) ermanently? P
Select Input P

3. Set subversion in Xcode
in the Xcode toolbar Organizer button->repositories button, select the lower left corner +,.

 

To add a code warehouse, enter https://192.168.1.103/svn/hello/in the location and enter the appropriate name in the name repository.



If there are no errors, the Next button can be clicked. Then choose Root, of course, depends on where your engineering files want to be set. Then click Import in the lower right corner to export your local project to the remote server's code warehouse.

 



if can be imported successfully on the server side is can see this project directory.

 

4. Use Subversion to manage code in Xcode
If you are not an administrator, you just need to download the project code from the server, then the first time you start Xcode, select Connect to a repository in the splash screen.


 


Enter https://192.168.1.103/svn/hello/at location


 

Click Next to appear in the dialog box and choose where your project is stored. So that other people do the work of the project is downloaded to the local. Then you can commit or update the specific files according to your needs.

Using subversion to manage iOS source code

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.