Tuesday, February 28, 2012

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

Just make sure your files are where you (your project file) thinks they are.
myApp[12345:678] Could not load the "image.png" image referenced from a nib in the bundle with identifier "com.company.app"
Check for filenames in red (at left), indicating that somehow some file became unknown. Maybe you were moving files around in Finder, were you? Of course you were, you silly bugger!

Select the filename in red, press alt-command-0 (zero) to open Utilities view (at right), go to Identity and Type view (first i.e. top) and check Location. There is a miniscule browse button, which you can use to tell project where the missing file is currently.

For group of lost files you can choose a folder, for a single file you still can choose folder - but the file won't be found. Choose the exact file.

No comments:

Post a Comment