How to Use Subversion to manage IOS source code

Source: Internet
Author: User
Tags subversion client ssl certificate

Use Subversion to manage IOS source code

1. install and configure the Subversion server

Install visualsvn-server on a Windows server at http://www.visualsvn.com/server/download /. Use the default installation. After installation is complete, the code repository for creating a server hello ,.

Right-click users and create user Tony. Then, right-click "Hello warehouse" and choose "properties" to authorize the Tony user to access the hello warehouse.
If there is no problem accessing the web site via https: // 192.168.1.103/SVN/Hello/in the browser, the server is installed and configured.

2. Configure the Subversion client of Mac OS X
Generally, Mac OS X has already installed the Subversion client and does not need to be installed again. However, to access the server from the client, security authentication is required. Https: // 192.168.1.103/SVN/Hello/indicates that this is an SSL certificate. You need to authorize the client to be the Mac OS X of xcode.
To do this, you need to enter:
$ SVN list https: // 192.168.1.103/SVN/Hello/
Error validating server certificate for 'https: // 192.168.1.103: 661 ':
-The certificate is not issued by a trusted authority. Use
Fingerprint to validate the certificate manually!
-The certificate hostname does not match.
Certificate Information:
-Hostname: zzr-PC
-Valid: From Tue, 27 mar 2012 13:15:03 GMT until Fri, 25 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, click "organizer"> "repositories" and select "+" in the lower left corner ,.

 

Click Add repository to add a code repository, enter https: // 192.168.1.103/SVN/Hello/in location, and enter the appropriate name in name.

If no error occurs, click the next button. Then select root. Of course, this depends on where your project files are stored. Click Import in the lower-right corner to import your local project to the code repository of the remote server.

If the import is successful, you can see the project directory on the server side.

 

4. Use Subversion to manage code in xcode
If you are not an administrator and you only need to download the project code from the server, select connect to a repository in the startup screen when you start xcode for the first time.

 

Enter https: // 192.168.1.103/SVN/Hello/in location/

 

Click Next. In the displayed dialog box, select where your project is stored. In this way, other people's projects will be downloaded to the local device. Then you can commit or update the specific files according to your needs.

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.