Xcode文件被鎖定:The file ".xcodeproj" could not be unlocked


同事從svn上面checkout項目到本地,通過xcode打開的時候提示的這個問題。

The file "xcodeproj" could not be unlocked. Could not add write permission to the file because you do not own it. Try modifying the permissions of the file in the Finder or Terminal.

代碼是通過命令行下載的

svn checkout http://xx/xx/xx/... 
--username=XXX --password=XXX
/Users/xx/xx/xx

我這個人比較懶,平時用xcode自帶的“source control”倒是沒有碰到這樣的問題,從字面上這個問題應該比較簡單,不就是權限問題嘛,看下是否設置讀寫

1 右鍵項目目錄>顯示簡介>共享與權限

2 發現已經是讀寫了,悲劇!!想想,是否是該目錄下的所有文件都有這個權限呢,所以應該要應用到目錄下所有的文件和目錄

3 先解鎖,在應用。。搞定!

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM