Application icon in Notification Center is the default Mac icon - objective-c

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.

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.

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.

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...

Related

How can I remove Paragon NTFS completely from my Mac?

I deleted all files from Application, Finder/Application Support, and also removed it from System Preference. But I am still getting the notifications from it when I open my computer.
My activity Monitor shows that the notification files are saved in:
/Library/Application Support/Paragon Software/com.paragon-software.ntfs.notification-agent.app/Contents/MacOS/NotificationAgent
HOWEVER, I couldn't see Paragon Software in /Library/Application Support. I guess that is because the folder is hidden. Is there anyway I can see the hidden folder without downloading any other tool? Or how can I remove Paragon NTFS completely and not receive its notification anymore?
In notification settings, I can still see:
I can turn off the notification for now. But I really want to remove it.
To show hidden files:
Go to Finder-apps-utilis-terminal
Enter:
defaults write com.apple.finder AppleShowAllFiles YES
Press alt & right click finder app icon from dock. Then click relaunch
If you are using OS version >= Sierra, you can use
CMD + SHIFT + .
when in finder to show hidden files(Hit once more to revert)

icon not change in device

For the icon change effect on the android emulator and device if i install manually .apk .ipa file . It works fine after changing the application icon and uploaded mobilefirst console in the production environment.
but problem is marketing manager mail me . application updated but not changed the Application icon in iOS and android device.
at this situation what can i do ?
I flowing this
link
It is not clear to me whether you refer to the icon that you see on the device home screen or to the icon that you see in the AppCenter console.
The icon on the home screen is managed by the device OS, and Idan's answer is correct here. This effect has nothing to do with IBM AppCenter but rather with the device OS.
The icon in the IBM AppCenter console is cached for 30 minutes in the browser, in order to allow the browser to refresh the screen more quickly. The idea is that icons change rarely and speed it important. There is a Java VM property ibm.appcenter.services.iconCacheMaxAge (in seconds) that can be set to a different value to modify this effect.
Based on the comments, an update will not take place if you did not increment the version number of the application.
If you change a native resource such as the app icon, but do not increment the application version number then the check for a new version will not see the update because it is basing it on the version number.
Update the version number and upload the updated .apk and .ipa; the update should then happen.

OSX How to display only one icon in dockbar for same application launched from 2 different locations

I have an application with FinderSync extension support.
I want to achieve silent update for this application. The only approach that I came up with at this moment, is installing the new version of the app into ~/Library/Application Support/../..., and whenever clicks the app from /Applications, redirect the user to Application Support one.
That means I will end up with two versions for the same app. One in /Applications and the other one in Application Support.
I have some issues after launching the application from both above locations.
If the user first starts the App from /Applications, selects Keep in dock, closes the app, updates the app by copying the new app to App Support and after that starts the app from App Support, I will end up with two dock icons.
Whenever I start the application, the FinderSync extension is automatically installed by the OS. It can be viewed in System Preferences->Extensions. Once the user quits the app and deletes the bundle, the OS automatically deletes the extension, so is no longer available in Extensions pref pane. However if I opened the application from both above locations, deleting the app from /Applications does not remove entirely the FinderSync extension from Extensions pref pane. Only after I remove the second application(the one from App Support), the FinderSync extension is removed from Extensions pref pane.
Are there any ways to overcome the above issues?
Please note that I have another question posted on a similar topic, while attempting to get rid of the above behavior using another technique, but I gave up using that approach a while ago:
OSX two dock icons for same application
Thanks

App icon is not displayed on the simulator screen

I draged all kinds of icons. After that I can see them in small windows in "General - App Icons" but when I run a simulator and go to Home Screen, my app icon is not displayed. What is wrong?
Click "Clean" in Xcode. Then remove app from simulator. Then run app.
restart your simulator. Make sure you have proper icon for device type / resolution you are trying to simulate.
For XCode 8 I had this same problem. I had created multiple targets and in doing so had unknowingly removed all targets from membership of Assets.xcassets.
To fix it for me, I selected Assets.xcassets in the project view and then reselected all the targets that I wanted to apply my icon sets to.

Set logo for Mac application

I am an iOS developer and did my first Cocoa Mac application using Xcode 4.2, I set the Logo image in the xcode itself and property list, but the application logo still has its default logo (the white sheet with two pens), how can I set Logo for my application?
Design your 512x512 icon and save it as png file. Open Icon Composer (installed with Xcode in /Developer/Applications/Utilities folder) and drag your png file to it and save your icon as icns.
Now in Xcode open your project and select the target. Drag your icns file to the "App Icon" box. That´s it! Build and run again...
You should place icon (icns format file) Your project target -> summary -> drag n drop in App icon box.
you need a .icns file rather than a straight png to get the file icon. This is essentially a collection of images at different sizes that mac os can use for different jobs.
as of mountain lion, the Icon Composer isn't available. You can build your icns file on the command line from a bunch of scaled and named bitmaps, or you can use the simple utility I built to do the job!
http://hobbyistsoftware.com/icnsBuilder