Bug 37561 - Perpetual 'AppIcons' warning.
Summary: Perpetual 'AppIcons' warning.
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 5.10 (C6SR3)
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Vincent Dondain [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-01-10 19:47 UTC by colinc86
Modified: 2016-01-12 19:43 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 FIXED

Description colinc86 2016-01-10 19:47:01 UTC
I get the warning:

Warning: The app icon set "AppIcons" has an unassigned child.

in every project I create, even when "AppIcons" isn't a valid icon name (i.e. not contained in any project directory, under any xcassets directory). Restarting Xamarin does nothing to silence the warning. Cleaning any and all references to images does nothing to silence the warning.
Comment 1 Vincent Dondain [MSFT] 2016-01-12 18:25:59 UTC
Fixed in md-addins/master; commit:f7f5ae6b06e498d047bc417bc5f67df636ae3a86
Comment 2 Vincent Dondain [MSFT] 2016-01-12 18:33:34 UTC
Thanks @colin. 

The issue what that the Content.json file we ship with the asset catalog had the wrong information for the "car" asset.

Until the fixe lands, here is the workaround if you want to "silence the warning":
- Open the Content.json inside the AppIcons.appiconset folder with any text editor.
- Change:

{
     "idiom": "car",
     "size": "120x120",
     "scale": "1x"
}

by:

{
     "idiom" : "car",
     "size" : "60x60",
     "scale" : "2x"
},
{
     "idiom" : "car",
     "size" : "60x60",
     "scale" : "3x"
}

That will solve the issue.

Cheers.
Comment 3 colinc86 2016-01-12 19:43:40 UTC
Awesome. Thank you, Vincent!