I'm updating iOS 6 universal application (for both - iPhone and iPad) to iOS 7 and I want to use Images.xcassets to store images in it.
For universal images (like some buttons which are the same on iPhone and iPad) this storage is working properly. But for the device specific images it is not working and I'm getting following errors on iPhone simulator:
CUICatalog: Can't find rendition for name: search_next scale factor: 2 device idiom: 1 device subtype: 568 Could not load the "search_next" image referenced from a nib in the bundle with identifier "sk.company.app"
But the image is there:
When I add universal image to this asset, it is working:
I tried this same in blank application and it's working perfectly fine, so I think it's something wrong with options, but I can't figure out where.
I more hint: the first scenario (only specific images in asset) is working, when I switch universal app to iPhone only app in project settings.
For Universal Application always use naming convention recommended by Apple. For example you have a button image, place images for both iPhone and iPad e.g.
When you will do that you will not get error "CUICatalog: Can't find rendition for name:" Thanks :)