Page 1 of 1

Building standalone app ... icon for OSX ?

Posted: Sat May 24, 2014 8:25 pm
by shawnblc
During the build process I have an icon for OSX which doesn't show up, but the one for Windows does.

The icon for OSX I've tried a PNG and an ICNS extension. Is there something else I should be doing or watching out for?

Here's the image that is actually showing up for the icon, WHICH is not the icon that I've selected.


Image

Re: Building standalone app ... icon for OSX ?

Posted: Sat May 24, 2014 11:01 pm
by FourthWorld
shawnblc wrote:The icon for OSX I've tried a PNG and an ICNS extension. Is there something else I should be doing or watching out for?
Did you change the actual file format, or just the extension? ICNS is a multi-image file format requiring special tools to create.

If you're running OS X and have XTools installed, you can use Apple's Icon Composer to convert .ico files to icns.

There are other tools as well, including this free web service, though it only converts a single size:
http://labs.iconfinder.com/converter

Re: Building standalone app ... icon for OSX ?

Posted: Sat May 24, 2014 11:19 pm
by shawnblc
FourthWorld wrote:
shawnblc wrote:The icon for OSX I've tried a PNG and an ICNS extension. Is there something else I should be doing or watching out for?
Did you change the actual file format, or just the extension? ICNS is a multi-image file format requiring special tools to create.

If you're running OS X and have XTools installed, you can use Apple's Icon Composer to convert .ico files to icns.

There are other tools as well, including this free web service, though it only converts a single size:
http://labs.iconfinder.com/converter

I used img2icns to convert the png to icns. I'll try another tool and see what happens.

Re: Building standalone app ... icon for OSX ?

Posted: Sun May 25, 2014 12:30 am
by shawnblc
Well, using an alternative tool actually worked. Thanks Richard for the suggestion. I'm only guessing, but it seems like img2icns may have given me a corrupted icns file.

Re: Building standalone app ... icon for OSX ?

Posted: Sun May 25, 2014 12:48 am
by FourthWorld
Happy to help. img2icns has a good rep, though, so perhaps you just found an odd bug or some interaction with the specifics of your PNG file. If you have time to send them a bug report I'm sure they'd appreciate it.