在编译程序时,遇到了这样的Waring:
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'NanGuangTV/NanGuangTV-Info.plist'.
**出现Warning的原因
**
遇到这种情况,是因为在合成项目,或者添加项目文件时,将Info.plist 文件以下列方式加入到了项目中。
7b9d64aft7b9885e92e2d&690.jpeg因为:编译器会自动将Info.plist 编译到target中,如果,我们又将Info.plist文件加入到项目中。会造成Info.plist文件重复。
**解决方法
**
很简单,将添加到项目中的Info.plist文件删除!
切记,删除时,要选择“Move to Trash”。
解决!
如果说上述方法解决不了的话
你可以试试下种方法
在这个列表当中找到info.plist文件 然后点击下面的减号删除就可以了