I got the same error "CUICatalog: invalid asset name: or invalid scale factor: 2.000000" after using the asset catalog new in Xcode 5.
After some debugging, I found that the cause of this error was passing the argument "nil" or an empty string @ "to the class method [UIImage imageNamed:]. Even passing a file name that was not in the set did not cause this error.
So I agree that (apparently got my vote) for the fix. Now, if you did what you suggested and still got the error, make sure you look at your code and maybe place a breakpoint wherever you call [UIImage imageNamed:] and see if you pass zero or empty string as an argument.
FYI, to create a breakpoint, simply click on the left edge of the code editor and add a blue breakpoint. Then right-click on the breakpoint and select "Edit breakpoint .." in the menu that appears. Then in the Condition field, enter something like the following:
(! imageFileName || [imageFileName isEqualToString: @ ""])
where imageFileName is a string representing the image file you are trying to load.
Raz
source share