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 the 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 referenced Info.plist
into your application bundle. Because Xcode automatically processes the Info.plist
, you should not add it to your Copy Bundle Resources build phase nor 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.
Document Revision History
Date | Notes |
---|---|
2016-06-29 | Editorial update. |
2011-09-22 | Updated for Xcode 4. |
2009-10-27 | New document that explains and describes how to fix the Copy Bundle Resources build phase warning. |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-06-29