0

I have created a directory with the icon set extension and put some png file there. After typing the below commands I have been unable to generating icon files.

$ mkdir myicon.iconset
$ iconutil -c icns myicon.iconset
$ Failed to generate ICNS.
UpAndAdam
  • 4,515
  • 3
  • 28
  • 46
  • 2
    possible duplicate of [How to manually create icns files using iconutil?](http://stackoverflow.com/questions/12306223/how-to-manually-create-icns-files-using-iconutil) – Thomas Ayoub Mar 27 '15 at 10:38

1 Answers1

1

The files inside of myicon.iconset need to have a particular naming structure, e.g.:

icon.iconset/icon_128x128.png
icon.iconset/icon_128x128@2x.png
icon.iconset/icon_256x256.png
icon.iconset/icon_256x256@2x.png

Mathew Eis
  • 280
  • 1
  • 2
  • 7