Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info

    xiaoxiao2025-02-04  15

    转自:http://blog.csdn.net/mideveloper/article/details/7790186

    遇到这个问题 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.

    Figure 1  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.

    转载请注明原文地址: https://ju.6miu.com/read-1296072.html
    最新回复(0)