Icon issues with application icons
lazarus / 33-macOS - Mac OS X
----------------------------------------------------------------------
wizbowes · 2013-06-08 22:52
I have an application with an associated iconset. The icons (created
on the mac via img2icns2 application) look fine when I explore the
iconset. The icon also works fine in the dock when the application is
running, however the application file itself has a standard 'pencil
and ruler' icon - as does the application when not running but pinned
to the dock.
Any ideas what I need to do to get this working correctly? Is this
issue with the iconset, the build, something else?
Many thanks,
wizbowe
----------------------------------------------------------------------
wizbowes · 2013-06-08 23:04
To answer my own question - following the instructions here to replace
the icon after the application has been built seems to do the trick.
Still - would like to know if it's possible to bake this in to the
build so it's not a post build task....
http://support.apple.com/kb/ht2493
----------------------------------------------------------------------
Shebuka · 2013-07-10 08:15
How i've solved this:
1. Delete the icon from Lazarus project
2. Put the icon (let's call it "your_icon.icns") in the bundle
"Contents/Resources"
3. Point to the icon in info.plist
Code: [Select] CFBundleIconFile
your_icon
done.