Xcode submits the project code to the remote SVN server

Source: Internet
Author: User

Environment Xcode 7 Mac Air

Xcode supports GIT source management tool by default, but now you want to submit the code to the SVN server, the steps are as follows:

1, open SVN link address in Safari, trust certificate, enter username password, login successful, can view SVN directory in browser

2, if your SVN is an empty folder, that is, there is no project upload, check out in xcode-"source control.

Below the pop-up box Entern a repostitory location: Enter the SVN address, next

Pop up a new dialog box is the Save dialog, select a path point download

Create a folder of SVN with the same name on the path you choose, and this should be an empty folder (because your SVN path now has no project code)

3, input svn ls https://********** on the console

Under normal circumstances will let you enter the Deny (R) temporary (t) accept (p), of course input p then enter the password of the machine SVN username password and so on as prompted.

Abnormal situation: encounters are similar to

SVN:E200002:/users/mac/.subversion/config:85:option expected this error message

The fundamental problem is that SVN in the read configuration file to meet the non-processing space, you need to open the configuration file to delete the space

Console Open/users/mac/.subversion/config Open and locate the specified line remove the space to save

Run the SVN ls https://********** again until you are prompted for the normal situation ....

Do not encounter other types of problems, such as encountered please Baidu ....

4. Create a Xcode project or copy the existing project to the folder you just created and open it. xcodeproj

In xcode-"source control can see a lot of menus like commit ... Wait, first click history ... Take a look.

Because you want to submit the current project to SVN, so choose Commit, at this time in the popup dialog will be able to see the project file form the left tree, click Submit

It is possible to succeed or you may encounter such an error ********SVN is not under version control, it is possible that a picture or related file is caused, mainly SVN cannot create a path that is too deep. If you encounter other errors please Baidu ...

Solution, the project tree according to the error message prompts, the relevant child check out, only the parent, the second submission, the submission needs to fill in the submission information, no unexpected words can be submitted successfully.

In this way, you can operate the update commit like normal code management ....

Xcode submits the project code to the remote SVN server

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.