First, why do you want to do this
Since git and SVN have two versioning tools that can't be used at the same time, XCODE5 has chosen git by default when creating a new project, but it's not a choice. When you inadvertently default Git version control, but you want to use SVN version control, there are only two ways: 1, re-new project, 2, delete git, use SVN;
Second, the solution
1. First close Xcode, then go to the terminal interface, go to the appropriate directory, manually delete the. git file or delete the git.2 using the rm-fr. Git command. The submission of external resources, such as. A is ignored and not committed by default, so it needs to be modified. VI ~/.subversion/config Find Global-ignores row, remove *.a, and then save the exit is OK.
#Global-ignores = *.o *.lo *.la *.al. Libs *.so *.so. [0-9*.a *.pyc **.rej *~ #*#. #*. *.swp. Ds_store
Three. svn:working copy ' trunk/src ' locked svn:run ' svn cleanup ' to remove locks (type ' svn help cleanup ' for details)
The exception operation caused the directory not to be unlocked.
Under the. SVN directory
Using the command line "SVN cleanup"
Four. Go to iOS SVN cornerstone Add. A static library file
Many SVN management tools are not uploaded by default on Mac. A file, which is very distressing. From the Internet, the command line can be used to solve this problem.
Open the terminal and the CD enters the folder where the. A file needs to be uploaded. Make sure LS can see. a file
Then use the command, such as: SVN add libzbar.a
A (BIN) libzbar.a appears after use is complete
Add success, with the SVN graphical management tool can be seen, just added the. A file, you can manually upload it now.
IOS xcode remove git using svn