Xcode允許SVN管理項(xiàng)目文件教程
Xcode允許SVN管理項(xiàng)目文件教程是本文要介紹的內(nèi)容,關(guān)于xcode相信友們并不陌生了,那么我們之間進(jìn)入話題。Xcode是開發(fā)人員建立 Mac OS X 應(yīng)用程序的最快捷方式,也是利用新的蘋果電腦公司技術(shù)的最簡單的途徑,而SVN是版本控制工具,本文主要是來講解SVN的操作,在網(wǎng)上搜了下,確實(shí)只能用如下步驟來進(jìn)行:
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.
但是有些文件是不需要上傳的,所以可以通過命令行來設(shè)置過濾掉:也是網(wǎng)絡(luò)收集,這個(gè)沒驗(yàn)證過.改天在試...
編輯 ~/.subversion/config 文件
1. 找到 global-ignores 一行,去掉注釋,編輯成
- global-ignores = build *~.nib *.so *.pbxuser *.mode *.perspective*
Xcode項(xiàng)目文件中有些文件是文本文件,需要告訴SVN,因?yàn)镾VN能更好地管理文本文件(誰用誰知道)
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
小結(jié):Xcode允許SVN管理項(xiàng)目文件教程的內(nèi)容介紹完了,希望通過本文的學(xué)習(xí)能對你有所幫助!