Questions tagged [iconutil]

iconutil -- Utility to convert between '.iconset' and '.icns' files.

iconutil -- Utility to convert between '.iconset' and '.icns' files. https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man1/iconutil.1.html

11 questions
138
votes
18 answers

How to manually create icns files using iconutil?

When I'm validating my app I get this error: the application bundle does not contain an icon in ICNS format, containing both a 512x512 and a 512x512@2x image. I use to make the icns icons with Img2icns app and until today it always worked…
Blue
  • 2,300
  • 3
  • 21
  • 32
13
votes
2 answers

iconset:error: Failed to generate ICNS

I'm trying to make an iconset for an application, but keep on getting an error when I make it: Hexchat.iconset:error: Failed to generate ICNS. I tried both exporting .png files individually from Illustrator, as well as using a script. Current script…
Terekhov
  • 141
  • 1
  • 7
5
votes
1 answer

iconutil not working on macOS High Sierra

I use iconutil command-line tool to convert iconset folders to icns files: iconutil -c icns /path/to/my.iconset I run it in Xcode as a build phase. I get my.icns file, but when I try to open it, I get an error message from the Preview app: The…
Anton Simakov
  • 293
  • 3
  • 14
3
votes
1 answer

Retina-ready .icns icon file on 10.5 Leopard (size limit?)

I'm trying to create a retina ready version of my application's icon. The application targets 10.5+. I'm using Uli Kusterer's oldiconutil to post process the .icns file I make from a .iconset using iconutil on 10.8. The problem is that if I include…
Andrew Madsen
  • 21,309
  • 5
  • 56
  • 97
2
votes
1 answer

iconutil error: "Unsupported image format"

I've been trying to use iconutil to generate .icns icons from the .png images inside the folder "folderthumb.iconset", with the following command: iconutil -c icns folderthumb.iconset Everything goes well when the source png have alpha…
1
vote
1 answer

How Do I Add An Alpha Channel To My PNG Files Using ImageMagick?

I have several Mac apps already created using another tool that I need to create Apple images for. They were created as PNG files without an alpha channel and stored in a folder. I attempted to do the following command: iconutil -c icons…
1
vote
3 answers

Where is the iconset command-line tool 'iconutil' located?

I have XCode 4.2 and need to submit a Mac app to App Store. I've tried all kinds of suggested methods to get the multi-resolution icons in there, so you don't need to inform me on that. The remaining method is to use iconutil. I've searched in…
Henrik Erlandsson
  • 3,797
  • 5
  • 43
  • 63
0
votes
1 answer

Get path from both local and iCloud directories

I have an Automator Quick Action script that converts PNG to ICNS, keeping both the original file name and its original position. However, if used inside an iCloud folder or a folder with a space in its name, the script won't…
Skifess
  • 3
  • 3
0
votes
1 answer

How to use iconutil on mac to generate icns file

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.
0
votes
0 answers

OS/X iconutil support for jpeg

I am trying to use iconutil to generate icns file from iconset directory. If the icon set directory contains the required file in png format, it works. If it contains the required files in jpg format, I get /private/tmp/MyIcon.iconset:warning: No…
Lanny Rosicky
  • 603
  • 1
  • 6
  • 9
0
votes
2 answers

Why is iconutil generating chopped up images on retina display?

I have an .iconset which can be found here. Building a binary with Xcode results in an icon that looks like Generating a .icns file directly using iconutil results in the same thing. Everything but the full resolution asset look weirdly chopped up…
ianyh
  • 619
  • 5
  • 8