Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'x/info.plist'
转载自: https://blog.****.net/skylin19840101/article/details/51240187
这种问题主要出现在info.plist文件的重新添加,如果不重新添加就不会出现
问题
今天Xcode修改工程名后,重新添加.plist及.pch文件后。
编译出现下面提示:
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file '。。。。。-Info.plist'.
解决
这是由于在Copy Bundle Resources(TARGETS->build phase)中添加了info.plist造成,去掉就可以解决。
==============================================================
参考:
http://blog.****.net/mideveloper/article/details/7790186
http://blog.sina.com.cn/s/blog_7b9d64af0101aq8g.html
From the Copy Bundle Resources build phase
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.