The icon of my application was way too big. It would barely fit into the dock or the quick switch menu when pressing Cmd+Tab
.
After days of googling, trying different tools to generate .icns
files I finally found the issue.
As the image above suggests the icon should only be as big as the red box. All additional space is reserved for things like the pen of the TextEdit app.
This means that all so called boxed
icons have a transparent outline that fills the entire outer bouding box
.
This can be seen when inspecting the Code.icns
of VSCode file inside Preview and pressing Cmd+A
.
I hope this helps someone who's stuck at the same issue :)