xcode 允许SVN管理项目文件
在網上搜了下,確實只能用如下步驟來進行:
?
1) Create the project in XCODE.
2) Setup subversion in XCODE and select the subversion repository for this project.
3) Use Xcode SCM > Repository and click on the IMPORT icon. This will move the local copy to the subversion repository.
5) Now delete your local copy (or move it to another location just in case).
6) CHECKOUT the project from subversion (this will create the subversion .svn folders, …).
7) Reselect the subversion repository for this project.
?
但是有些文件是不需要上傳的,所以可以通過命令行來設置過濾掉:也是網絡收集,這個沒驗證過.改天在試...
?
編輯?~/.subversion/config 文件?
1. 找到 global-ignores 一行,去掉注釋,編輯成
global-ignores = build *~.nib *.so *.pbxuser *.mode *.perspective*
Xcode項目文件中有些文件是文本文件,需要告訴SVN,因為SVN能更好地管理文本文件(誰用誰知道)
2. 找到 enable-auto-props = yes 把注釋去掉,在[auto-props] Section聲明以下文本文件
?
*.mode* = svn:mime-type=text/X-xcode
*.pbxuser = svn:mime-type=text/X-xcode
*.perspective* = svn:mime-type=text/X-xcode
*.pbxproj = svn:mime-type=text/X-xcode
?
?
出處:
1.http://note19.com/2009/03/17/xcode-subversion-error-155007-path-is-not-a-working-copy-directory/
2.http://macos.it168.com/archiver/tid-9126.html
?
轉載于:https://www.cnblogs.com/likwo/archive/2011/03/08/1977434.html
總結
以上是生活随笔為你收集整理的xcode 允许SVN管理项目文件的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 红旗桌面版本最新运用要领和成果解答100
- 下一篇: 腾讯的瓶颈