Xamarin warning: The app icon set "AppIcons" has 2 unassigned children

Published

I’m getting the following warning when compiling:

Warnings:

/Users/some-user/Projects/SomeApp/SomeApp/SomeApp.csproj (Build)
-> /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets
(_CoreCompileImageAssets target) ->

Resources/Images.xcassets: actool warning : The app icon set
“AppIcons” has 2 unassigned children.

1 Warning(s)

I have provided each image for the app icons (except watch/car). There is no “unassigned” value in the Contents.json file. I also tried to unset every image and set it again. I’m still getting the warning.

Currently I’m using Xamarin Studio 5.9.7 (build 22), Xamarin.iOS 9.0.1.29 with Mono 4.0.4., Xcode 7.0.1 (8228) Build 7A1001. All this runs on Mac OS X 10.10.5.

How do I get the warning removed?

Source: Xamarin.ios Questions

Published
Categorised as Uncategorised Tagged , , , ,

Answers

If you have icons in .\AppIcons.appiconset folder that is not used/referenced in Contents.json file then you will the warning “The app icon set “AppIcons” has * unassigned children.”. Look at all the icons in the folder and go through all the icons referenced in Contents.json then remove extra icons from the folder. Icons that is not referenced even though not included in the project will result in the compiler warning.


Rudolph Hessel

Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq