Building standalone app ... icon for OSX ?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
shawnblc
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 342
Joined: Fri Jun 01, 2012 11:11 pm

Building standalone app ... icon for OSX ?

Post by shawnblc » Sat May 24, 2014 8:25 pm

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10053
Joined: Sat Apr 08, 2006 7:05 am
Contact:

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

Post by FourthWorld » Sat May 24, 2014 11:01 pm

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
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

shawnblc
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 342
Joined: Fri Jun 01, 2012 11:11 pm

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

Post by shawnblc » Sat May 24, 2014 11:19 pm

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.

shawnblc
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 342
Joined: Fri Jun 01, 2012 11:11 pm

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

Post by shawnblc » Sun May 25, 2014 12:30 am

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.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10053
Joined: Sat Apr 08, 2006 7:05 am
Contact:

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

Post by FourthWorld » Sun May 25, 2014 12:48 am

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply