Could Not Load the "" Image Referenced from a Nib in the Bundle with Identifier

Could not load the image referenced from a nib in the bundle with identifier


  1. Select your image(s) in Project Navigator.
  2. Open the File Inspector.
  3. Make sure you have the target selected.

Add your image to the target

Could not load the image referenced from a nib in the bundle with identifier

I had the same error , Click on a picture file in Xcode. in attribute, on bottom you'll see Target membership. Check the box and it is gonna work. it worked for me . try it once .

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

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.

Could not load the image referenced from a nib

You can do this to check it from your storyboard, or nib.
Open it as Source Code:

Sample Image

Then "Find" the image name in it, see if it exists but already invalid in your project, probably you have deleted or changed its name, and now it doesn't seem valid.

Sample Image

xcode 9 Could not load the image referenced from a nib in the bundle with identifier

Click on a picture file in Xcode. in attribute on bottom you'll see Target membership. Check the box and it is gonna work. Had the same problem see picture:
Sample Image

Could not load the image referenced from a nib in the bundle with identifier (again)


It was dots in the file name!

The new images were named with dates appended to the end of the filename, using dots to separate month, day and year; like so:

  • puppy.10.17.2014.png
  • kitten.10.17.2014.png
  • chick.10.17.2014.png

I stripped out the dots, and named the files like so:

  • puppy.png
  • kitten.png
  • chick.png

What a headache... I hope this helps someone out there in cyberspace!



Related Topics



Leave a reply



Submit