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 先解锁,在应用。。搞定!

 

posted @ 2016-03-14 13:57  Jager  阅读(4967)  评论(0编辑  收藏  举报