Rahul Rana
Rahul Rana

Reputation: 103

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

When I run the Application then warning display below,

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

Upvotes: 5

Views: 8739

Answers (2)

gardarh
gardarh

Reputation: 3224

I had this issue after I rearranged the underlying file structure of my project. Xcode4 has moved things around though and most online help to this problem is Xcode 3 specific, so this is how you solve this in Xcode 4:

  • Click the project icon in the Project Navigator (the blue root icon)
  • In your main pane menu you should be able to choose between your project or targets, select the target
  • Select "Build Phases" in the top menu
  • Open the "Copy bundle resources" item
  • Remove your plist file from there (your plist file should not be copied as a part of the bundle)

Upvotes: 35

Matthias Bauch
Matthias Bauch

Reputation: 90117

In xcode, right click the UserDefinedLocalization-Info.plist file, select Get Info. Go to the Targets tab and remove the checkmark in front of your target.

The info.plist is a special file and must be treated in a special way. It's not allowed to add it to the app in the normal way.

Upvotes: 6

Related Questions