iOS开发The Copy Bundle Resources build phase contains this target's Info.plist file...的解决办法

出现场景  

项目中移除info.plist ,后来又重新拖拽回来,同时勾选了Copy items if needed 

解决办法

1.删除(删除时选择Remove Reference)    

 

 2.重新添加info.plist, 记得不要勾选AddToTargets (只要去掉Add to targets就可以,解决方法不唯一)

原文地址:https://www.cnblogs.com/chao8888/p/5362263.html