Warning: The Copy Bundle Resources build phase contains this target's Info.plist file

来源:互联网 发布:18rmmd动作数据 编辑:程序博客网 时间:2024/06/06 07:43

今天做项目,手贱,把项目中的info.plist文件给删除了,然后我从另一个项目中把info.plist移了过来,想着应该就好了,确实也没什么毛病,但是会产生一个如题的警告:

Warning: The Copy Bundle Resources build phase contains this target’s Info.plist file

看着真不爽,没办法,那就找找解决办法呗,最终在这里找到了答案http://stackoverflow.com/questions/3095612/warning-the-copy-bundle-resources-build-phase-contains-this-targets-info-plist

大概步骤就是点击 项目名->Build phases->找到Copy bundle Resources->找到里面的info.plist->选中然后delete,OK搞定 !还是要警告大家,系统默认产生的文件比如info.plist文件,最好不要自己乱动,否则就会产生一些莫名其妙的问题。

0 0