Developing iOS code management under Mac

Source: Internet
Author: User
Tags subversion client svn client

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. Using SVN client function

1. Import code from local to server (first initialize import)

Enter in the terminal

SVN Import/users/apple/documents/eclipse_workspace/weibo Svn://localhost/mycode/weibo--USERNAME=MJ--password=123 -M "Initialize import"

I explained the meaning of the instruction: upload everything in the/users/apple/documents/eclipse_workspace/weibo to the Weibo directory of the server Mycode warehouse, followed by the "Initialize import" in double quotes is a comment

2. download the code from the server side to the client local

Enter svn checkout svn://localhost/mycode--username=mj--password=123/users/apple/documents/code in the terminal

I explain what the instruction means: Download the contents of the Mycode repository in the server to the/users/apple/documents/code directory

Developing iOS code management under Mac

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.