在项目中提交过svn后,再在本机上删除不用的图片资源后,build后会有 ”xx“is missing from working copy 的警告。在网上找了些资料后,总结下。
直接在终端下用svn命令删除missing的文件:(需要cd到提示你missing 文件的路径下)
svn delete nameOfMissingFile
或用Git(如果你用的是Git的话)
git rm nameOfMissingFile
有关于在终端下没法用svn命令的问题,如提示svn命令找不到,可以参考这篇文章:
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info
遇到这个问题 copy app document mark
WARNING: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.
Q: Why am I getting "WARNING: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'"? And how do I fix it?
A: You are getting this warning because you probably added your Info.plist
file to your Copy Bundle Resources build phase as shown in Figure 1.
The INFOPLIST_FILE build setting specifies the name of the Info.plist
associated with your target. When building a target, Xcode reads this build setting and copies the referencedInfo.plist
into your application bundle. Because Xcode automatically processes the Info.plist
, you should not add it to your Copy Bundle Resources build phase or make it a target member.
To resolve this warning, select your Info.plist
from the Copy Bundle Resource build phase as shown in Figure 1, then click the Remove (–) button to delete it from the phase.