Xcode8 报 ”xx“is missing from working copy 的问题解决方法

方法一:

Xcode->Preferences->Source->Enable Source Control 勾勾去掉

方法二:

Xcode8更新后,编译工程一下子报出800多条类似的警告,好在不影响运行。这个问题出现的原因如下:

在项目中提交过svn或Git后,再在本机上删除不用的图片资源后,build后会有   ”xx“is missing from working copy  的警告。在网上找了些资料后,总结下。

直接在终端下用svn命令删除missing的文件:(需要cd到提示你missing 文件的路径下)

svn delete nameOfMissingFile

或用Git(如果你用的是Git的话)

git rm nameOfMissingFile

就这样,cd到missing文件的路径下,然后用相应的命令(svn或git),两行命令解决问题!

原文地址:https://www.cnblogs.com/Milo-CTO/p/6483018.html