Application icon in Notification Center is the default Mac icon
Asked Answered
V

3

1

I use another image.icns as my applications icon file.

I've deleted ~/Library/Application Support/NotificationCenter/*.db and restarted my computer but the notification icon is still the default Mac icon for my application.

Valgus answered 23/5, 2014 at 6:16 Comment(0)
W
1

Turns out you should probably keep your icons in an ".iconset". And have all the recommended sizes available for the notification center to pick up (e.g. might be 32 x 32, might be 16 x 16).

And to create this, you can use the "Icon Composer" app to convert your .icns file into a full blown icon set. The .icns file does end up in your built app package / bundle in the end, though.

Details can be found in Apple's "High Resolution Guidelines for OSX" document, under the "Create a set of icons that include high-resolution versions" section.

Whore answered 23/5, 2014 at 6:35 Comment(0)
N
2

Stop your application from running in Xcode. Force quit the Notification Center process via Activity Monitor. Relaunch Notification Center and then launch your application. Your notifications should now display your application's icon you've provided in your AppIcon.appiconset.

Naught answered 1/3, 2016 at 1:13 Comment(0)
W
1

Turns out you should probably keep your icons in an ".iconset". And have all the recommended sizes available for the notification center to pick up (e.g. might be 32 x 32, might be 16 x 16).

And to create this, you can use the "Icon Composer" app to convert your .icns file into a full blown icon set. The .icns file does end up in your built app package / bundle in the end, though.

Details can be found in Apple's "High Resolution Guidelines for OSX" document, under the "Create a set of icons that include high-resolution versions" section.

Whore answered 23/5, 2014 at 6:35 Comment(0)
V
0

Archive your app, export it to your applications folder. When there is a copy of your app in Applications folder, notification icon is somehow visible. This worked in my case...

Vallery answered 26/8, 2016 at 6:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.