This siteArticleBothLi huaming himiOriginal, reprinted must be explicitly noted:
Reprinted from[Heimi gamedev block]
Link: http://www.himigame.com/game-detail/1048.html
☞Click to subscribe☜The latest developments in this blog! Notify you of the latest blog in time!
I will not introduce SVN, but I will still give you a connection if I do not know it. Please study it by yourself. Thank you. SVN Baidu introduction:
Http://baike.baidu.com/view/183128.htm
Xcode comes with GIT and SVN by default. The detailed configuration steps of SVN are as follows:
1. First, check whether SVN has been installed on your Mac, which is unavailable to Mac OS 10.8 users.
The detection method is as follows:
(1) Open the terminal and run the following command:
Svn-version
(2) If SVN has been installed, the terminal console displays the following information:
12 |
SVN: Invalid option character: E Type 'Svn help' For Usage. |
If the following occurs, it indicates that SVN is not installed in the current system.
If SVN is not available, the solution is as follows:
Open xcode, select "xcode"-"Preferences" (shortcut: Command +,), select the "downloads" page, and download and install "command line tools", for example:
2. SlaveCodeAdd a project to the repository
In xcode, select "Windows"-"organizer" (shortcut: Shift + command + 2), select "repositories", and click "+", as shown in:
3. Configure SVN
Click "+", select "add repository", and the following page appears:
Name: Define a name.
Location: The SVN address of the server.
Type: Subversion (GIT and SVN are supported by default)
After entering all the correct information, click "Next" to bring up the following interface, asking you to enter the svn account password (if you have set the account password)
After entering the account and password correctly, click "continue" to enter the settings of trunk, branches, and tags. It is just as simple as entering the password.
At this time, the children's shoes can see a red dot with no warning! Click "add.
Note that "the svn server must also enable trunk, branches, and tags !"
After the project is added,Trunk, branches, and tags cannot be obtained normally:
If the trunk, branches, and tags options are followed by red dots, open the terminal and run the following command:
SVN ls https: // 192.168.1.205: 8443/SVN/augustxcodeprobackup
Format: SVN ls xxxx (XXX is the address of your SVN server, that is, the location address you entered when adding a project)
If the address is correct, the terminal displays the following information:
If you want to allow access to this address, enter "P" and press Enter.
The method to verify whether it is OK:
Enter SVN ls XXXX in the console again
The following message is displayed on the console instead of prompting you to select whether to allow the request:
The following information is displayed on Mac OS:
Click "OK! If you don't allow it, it's too embarrassing ......
If you still don't have this prompt, Do not be nervous first. Try the following operations:
1. You are allowed to operate on your SVN server address multiple times. Repeat until you are not prompted to select the address and the following information appears!
2. Decompress xcode and re-open it.
(Note: Different Mac OS versions may not necessarily prompt Mac OS !)
The following figure shows that the lights after the trunk, branches, and tags options are green, for example:
OK. Here is the article. Thank you for your support for himi.