Bug 36472 - Adding icon to project does not reflect when running app
Summary: Adding icon to project does not reflect when running app
Status: VERIFIED FIXED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Other ()
Version: 2.4.0 (C6)
Hardware: PC Mac OS
: Normal normal
Target Milestone: 2.8.0 (C7)
Assignee: Vincent Dondain [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-12-02 16:41 UTC by Cody Beyer (MSFT)
Modified: 2016-05-19 16:23 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:
VERIFIED FIXED

Description Cody Beyer (MSFT) 2015-12-02 16:41:44 UTC
### Description

Adding icons to Xamarin.Mac app via Appicons does not reflect when running the app

### Steps to Reproduce

1. Create new Xamarin.Mac app
2. Run app
3. Open Resources/Images.xcassets/Appicons.appiconset/Contents.json
4. Add icons to Mac icon section (bottom of view)
5. Rebuild and run app

### Expected Results

New icon should be used in Dock

### Actual Results

Default icon is used

### Versions

=== Xamarin Studio ===

Version 5.10.1 (build 1)
Installation UUID: 1b31fdee-b858-4f14-a006-117bc4b5ce32
Runtime:
	Mono 4.2.1 (explicit/6dd2d0d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010102

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.1.1 (9081)
Build 7B1005

=== Xamarin.iOS ===

Version: 9.2.1.52 (Business Edition)
Hash: d070a7b
Branch: master
Build date: 2015-11-23 12:29:45-0500

=== Xamarin.Android ===

Version: 6.0.0.34 (Business Edition)
Android SDK: /Users/codybeyer/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		6.0   (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.4.0.109 (Business Edition)

=== Build Information ===

Release ID: 510010001
Git revision: bee8b40553477ae2f5a5fdb19b7c9aa2505c3b02
Build date: 2015-11-23 15:39:53-05
Xamarin addins: d456dff337fe54102a1d98f6cf49c5abe0747ee3
Build lane: monodevelop-lion-cycle6-baseline

=== Operating System ===

Mac OS X 10.11.1
Darwin BeyerStudiosMac.local 15.0.0 Darwin Kernel Version 15.0.0
    Sat Sep 19 15:53:46 PDT 2015
    root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
Comment 1 Vincent Dondain [MSFT] 2015-12-17 17:28:31 UTC
This is now fixed in md-addins/master (commit:e1b8c93de6977e7052296b37c32ebefe75e04f0d) and maccore/master (commit:164369facc362083c3a422106281d7820d211620).
Comment 2 Sunil Kumar 2016-05-19 16:23:48 UTC
I have checked this issue with C7 latest builds and observed that now this issue works fine. Now New icon is reflecting and seeing in Dock as shown in screencast: http://www.screencast.com/t/JXLns6RihcK

Hence closing this issue.

Environment info:
=== Xamarin Studio Enterprise ===

Version 6.0 (build 5165)
Installation UUID: 561c7a69-0a91-4bae-ad7c-f0c79d594337
Runtime:
	Mono 4.4.0 (mono-4.4.0-branch/0f5fdf2) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 404000168

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.2 (9548)
Build 7C68

=== Xamarin.iOS ===

Version: 9.8.0.318 (Xamarin Enterprise)
Hash: efefc1e
Branch: cycle7
Build date: 2016-05-13 17:19:05-0400

=== Xamarin.Android ===

Version: 6.1.0.63 (Xamarin Enterprise)
Android SDK: /Users/tajinder/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 25.1.3
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.8.0.318 (Xamarin Enterprise)

=== Build Information ===

Release ID: 600005165
Git revision: b44eb696fa41a04696a84d6af7fed9aa494e5580
Build date: 2016-05-19 02:59:52-04
Xamarin addins: c7761d054f38e9a210822aba6356398af0c36fa9
Build lane: monodevelop-lion-cycle7

=== Operating System ===

Mac OS X 10.10.5
Darwin Tajinders-iMac.local 14.5.0 Darwin Kernel Version 14.5.0
    Wed Jul 29 02:26:53 PDT 2015
    root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

Addin Maker 1.3.1
DNX 0.2
NuGet Package Management Extensions 0.10.1
Test Template Parameters 0.4
JSON Copy 1.1
Manifest.addin 0.0.0.0