Could not load the image referenced from a nib in the bundle running on device

It might not be added to your Target and in XCode 4 you can do it like this:

  • In your Project View, click your project name
  • Select your target and select "Build Phases" tab
  • Drag your image file into your "Copy Bundle Resources" section

That fixed it for me.


The filesystem on iOS devices is case sensitive, so it's quite possibly a case issue. (Mac OS X is generally case in-sensitive, hence you've not seen this issue in the simulator.)

As such, check that you're using the same case in the code as the filename itself.


Do you have the image in a referenced folder in XCode (blue folder)? If so you have to include the folder name in the image path, something like "Images/canary04.png"