Bug 40232 - Application icon is not used
Summary: Application icon is not used
Status: RESOLVED ANSWERED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Other ()
Version: Master
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Vincent Dondain [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-04-08 10:45 UTC by AivanF.
Modified: 2016-04-14 13:48 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description AivanF. 2016-04-08 10:45:55 UTC
I followed this example:
https://developer.xamarin.com/guides/mac/deployment,_testing,_and_metrics/app-icon/
But a standard Xcode icon was and is used for my app. Furthermore, before I put my icon, there was nice Xamarin icon which wasn't shown too. And when I press "Show Package Content" on my .app-file, there is nothing similar to an icon.
I haven't tried to set my icon to an app in Xamarin before, thus cannot say, how it was in the past.

Has the way of icon setting changed, or is it a bug or my mistake?

I use Xamarin Studio Community 5.10.3, Mono 4.2.3. My Mac OS X is 10.10.5.
Comment 1 AivanF. 2016-04-08 17:41:54 UTC
Even more - I tried to add prepared AppIcon.icns to application, putting this name (with and without extension, because Xcode doesn't write icon extension) in key "CFBundleIconFile" of Info.plist, but it doesn't help either.

Could you tell me anything about the problem?
Comment 2 Rodrigo Kumpera 2016-04-14 06:36:56 UTC
Moving to the right queue.
Comment 3 Vincent Dondain [MSFT] 2016-04-14 13:48:53 UTC
Hey Aivan,

We had an issue with the ACTool task preventing XM from having app icons.
That should be fixed in our next major release, please try the alpha or beta Xamarin.Mac + Xamarin Studio builds.

Also, we updated the asset editor and our guide isn't up to date anymore. The documentation team is working on the new version.

The way you set app icons is pretty straightforward:
- Open the asset editor (double click on the asset folder).
- Add (right click on the left panel) or use the app icon set.
- Set your Mac app icons.
- In the Info.plist file, make sure that your app icon set is referenced under the app icon section.

If you're still having trouble or questions about how to set the app icons for a Mac project, please feel free to use our forums https://forums.xamarin.com/categories/mac.

Cheers,

Vincent.