close

1) 進入終端機

2) 建立資料庫 

     > svnadmin create Subversion

3) 建立資料庫中的 trunk 目錄

    > mkdir trunk

    > svn import trunk file:///Subversion/trunk -m "Initial import"

4) 開啟Xcode 的SCM

5) 增加Repositories, 給個名字Apple, 並在URL欄位填入:file:///Subversion

此時已可以看到Repositores 已增加一個名叫Apple的資料庫,並有一個trunk的子目錄, 此時即可做import和checkout 的動作了

6)因為build 的結果不需check in, 所以可去Xcode->Project->Edit Project Settings->General,

   設定 Place Build products in -> custom location

   另外設定 Place Intermediate Build Files in -> Build products location

 

 

 

   

 

arrow
arrow
    全站熱搜

    hfchou 發表在 痞客邦 留言(0) 人氣()