日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

xcode 允许SVN管理项目文件

發布時間:2025/6/17 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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管理项目文件的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。