遇到这个问题 copy app document mark
WARNING: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'.
Q: Why am I getting "WARNING: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'"? And how do I fix it?
A: You are getting this warning because you probably added your Info.plist file to your Copy Bundle Resources build phase as shown in Figure
1.
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.
本文详细解释了为何在Xcode项目中会出现WARNING:TheCopyBundleResourcesbuildphasecontainsthistarget'sInfo.plistfile'Info.plist'警告,并提供了如何解决该问题的方法。通过移除Info.plist文件从Copy Bundle Resources阶段,可以避免此警告并确保项目的正常构建。
6068

被折叠的 条评论
为什么被折叠?



