码迷,mamicode.com
首页 > 其他好文 > 详细

dependency analysis warning: The copy bundle resources build phase contains

时间:2015-04-07 17:51:10      阅读:162      评论:0      收藏:0      [点我收藏+]

标签:ios   dependency analysis   warning   xcode   objective-c   

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 选项
技术分享
技术分享

技术分享

dependency analysis warning: The copy bundle resources build phase contains

标签:ios   dependency analysis   warning   xcode   objective-c   

原文地址:http://blog.csdn.net/aa705123123/article/details/44920871

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!