dependency analysis warning: The Copy Bundle Resources build phase contains this target’s Info.plist file ‘xxx/Info.plist’.
出现Warning的原因
- 遇到这种情况,是因为在合成项目,或者添加项目文件时,将Info.plist 文件以下列方式加入到了项目中。
- 实际上编译器会自动将Info.plist编译到target中,如果,我们又将Info.plist文件加入到项目中。会造成Info.plist文件重复。
解决办法
- 将Info.plist文件删除 -》选择Remove Reference, 然后重新添加,去掉勾选 add to targets 选项
原文阅读 http://blog.youkuaiyun.com/aa705123123/article/details/44920871