Icon for App Bundle
lazarus / 33-macOS - Mac OS X
----------------------------------------------------------------------
axisdj · 2020-07-23 17:46
Hello Group
I cannot get the icon for the bundle to show
the icns file is in the Contents/Resources directory, I can open it on
a mac and it shows all the resolutions 16,32,128,256,512
I have specified it in the info.plist file as:
CFBundleIconFile
theIconName.icns
I just cannot get it to show?
----------------------------------------------------------------------
axisdj · 2020-07-24 01:49
Well.. that was frustrating.
It appears the .app folder needed to be moved in and out of a .dmg for
the icon to show up.
how horrible, all was correct in plist and the incs file were correct.
MacOS sure is a challenge
----------------------------------------------------------------------
trev · 2020-07-24 06:09
Finder caching the app icon is documented - see the Wiki article
Adding an icon to your app bundle.
There's plenty of helpful code examples and hints available in the
Wiki - start at the Mac Portal.
----------------------------------------------------------------------
axisdj · 2020-07-24 16:09
thanks Trev,
I did not find that wiki, would have saved a lot of time. thanks for
sharing it.
It is a whole new world going to mac after being PC for 25 years...
ill get there.
thanks!