Bug 1183 - Impossible to remove an icon/image from Info.plist
Summary: Impossible to remove an icon/image from Info.plist
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2011-10-03 04:57 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2013-07-26 11:47 UTC (History)
3 users (show)

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:

Description Rolf Bjarne Kvinge [MSFT] 2011-10-03 04:57:25 UTC
I can add and change the icons/images for an application, but once an icon/image is set, I can't remove it completely.
Comment 1 Alan McGovern 2011-10-03 05:07:13 UTC
Just in case anyone hits this before we fix it in 2.8.1, you can delete the 'Icons' key from the plist file using the advanced section to work around the lack of a way to remove icons using the simple editor.
Comment 2 Marek Safar 2011-11-15 12:06:44 UTC
It has not been fixed in 2.8.1
Comment 3 Jeffrey Stedfast 2011-12-20 20:27:36 UTC
I've added a right-click context menus for most of the ImageChooser buttons with an "Unset image" menu item to unset plist icons.

I just need to add them for the launcher icons now...
Comment 4 Jeffrey Stedfast 2011-12-21 12:05:54 UTC
ok, added menu for launcher icons now too.
Comment 5 narayanp 2013-07-26 07:37:39 UTC
Today I have checked this issue with following builds:

All Mac
X.S 4.1.8(build 5)
Mono 3.2.0
Xamarin.iOS 6.4.0-2

And I have observed that If we click on Unset Image, It does not completely remove the added image from info.plist. When we add an image to info.plist and then we right click on that image and select unset image and then we try to add again same image, it display Image already exists. This is the screencast for the same: http://screencast.com/t/FRACbtpwlmpo

It should remove from Resources folder as well

Hence, reopening this issue
Comment 6 Jeffrey Stedfast 2013-07-26 11:47:14 UTC
The behavior in the screencast isn't a bug because you selected a file outside of the project, hence why it asks if it should overwrite the appropriately named file that exists within the project.

When you unset the icon, I don't think it should remove the file from the project because it might still be used elsewhere.

Xcode has the same behavior when you unset the icon in their Info.plist editor.