[iOS] Xcode 4 Missing file 警告的解决办法

来源:互联网 发布:关系数据库设计理论 编辑:程序博客网 时间:2024/05/16 06:32
These solutions are way too difficult. The problem is that you have removed the project from filesystem but SVN still thinks they are there. Detaching project from SVN will work, the same for removing .svn folders BUT that is going to destroy your repository!It is much easier to open console, browse to your folder ("cd /pathToYourFolder") and type the following command:svn delete nameOfMissingFileFor GIT repositories:git rm nameOfMissingFile


大概解释如下:

出现这种警告的原因是你从文件系统中删除了文件,但是SVN并不知道文件已被正确删除。最简单的解决方法是打开“终端”,用“cd”命令到删除的文件所在目录,然后再通过以下SVN命令删除SVN中的文件信息:

  1. svn delete nameOfMissingFile
复制代码
如果你用的是GIT,则使用下面这个命令:

  1. git rm nameOfMissingFile
复制代码