I'm uploading a free app to the Mac App Store and I keep getting this error during validation that says,
The application bundle does not contain an icon in ICNS format, containing both a
512x512
and a512x512@2x
image. For further assistance, see the Apple Human Interface Guidelines.
The only thing is, there are files called icon_512x512.png
and [email protected]
, as well as files for all the other necessary resolutions.
Since Apple is absolutely no help, I was hoping someone would know how to fix this or at least go about creating an icon that meets the specifications.
As I understand it, if you create the .icns in Icon Composer it will fail validation even if a proper 512x512@2x
is present. Use iconutil to convert the .icns back into an iconset, and then use iconutil to create a new .icns from the iconset.
For instance:
resources $ iconutil -c iconset icon.icns
resources $ iconutil -c icns icon.iconset
More info on iconutil is here.
That fixed my problem but I used cd
to go to the folder, then I entered
iconutil -c iconset icon.icns
iconutil -c icns icon.iconset
the icon name must be icon as in the command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With