Try
[NSImage imageNamed:@"logo64x64"];
rather than
[NSImage imageNamed:@"logo64X64"];
Note that in the code that succeeded, you used a lowercase x
, whereas in the code that failed, you used an uppercase X
(logo64X64
). NSBundle
is case-sensitive, even if the underlying HFS+ file system is only case-preserving. (NSImage
's +imageNamed:
method uses NSBundle
to locate resources).