解决:XCODE 4.2 无法连接SVN,提示:Unable to load revisions
解決方法:
1)打開“終端” ---(英文:open a terminal) 2)輸入?>svn checkout SERVER_PATH FOLDER_PATH_TO_PUT_THE_PROJECT (實(shí)際可能是 svn checkout https://xxx.com/xx ?xxProject) ?https://xxx.com/xx這個(gè)為服務(wù)器端地址,xxProject為項(xiàng)目名 ??--- (英文:>svn checkout SERVER_PATH FOLDER_PATH_TO_PUT_THE_PROJECT) 3)系統(tǒng)將提示你輸入密碼,隨便輸入一個(gè),然后回車 4) 系統(tǒng)提示你輸入用戶名,輸入正確的用戶名 5)系統(tǒng)提示你輸入密碼,輸入正確的密碼,然后項(xiàng)目將會(huì)被checkout. 6)這是你可以關(guān)掉該窗口了(至于文件存哪里了,我還要研究下) 7)重新打開XCODE,然后按照附錄重新添加一個(gè)repository,不成功的話再重開下XCODE試下 >>>>>>>>>>>>>>>>>> 解決方法(原文): There are a lot of links, but no solution posted directly here, so I'll do it.The reason Xcode4 does this is that it tries to log you into the SVN server with your mac credentials. When that fails, it basically just hangs and fails. The best solution I've seen so far is this:
open a terminal
If you don't have the project out do this:
>svn checkout SERVER_PATH FOLDER_PATH_TO_PUT_THE_PROJECT
It will then ask you for password for the mac username, you just write anything or nothing and press enter.
it will then fail and ask you for a username. Enter the correct one and then the password when it asks.
The project will be checked out, but you can just close the terminal window and delete the folder again if you want. Xcode4 will now connect without a hitch. :)
----------------------------------------------------------------------------------------------------------附錄::SVN新增Repository過程:
1)打開Organizer界面,選擇Repositories
2) 左下角單擊 +,選擇Add Repository
3) Name自己寫個(gè)自己容易記住的
4)location處填寫服務(wù)端的地址,如https://xxx.com/xx
5)type選擇subversion(GIT書上說主要用于單機(jī),暫未測試)
6)完成進(jìn)入下一步 會(huì)提示你輸入用戶名密碼
輸入后可以看到左邊的的配置顯示為綠色,如果還是紅色,并且右邊顯示Unable to load revisions,請(qǐng)按指示操作一遍;
7)之后Checkout,update的操作自己看文檔去。
轉(zhuǎn)載于:https://www.cnblogs.com/gloolo/archive/2011/12/20/2295232.html
總結(jié)
以上是生活随笔為你收集整理的解决:XCODE 4.2 无法连接SVN,提示:Unable to load revisions的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。