MAUI iOS - None of the input catalogs contained a matching stickers icon set or app icon set named "appicon"

See original GitHub issue

Description

During the build of my MAUI app project (before running it on iOS) I got this error :

None of the input catalogs contained a matching stickers icon set or app icon set named “appicon”. C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.2.1024\tools\msbuild\iOS\Xamarin.Shared.targets

In my .csproj :

<ItemGroup>
	<None Remove="Resources\AppIcon\icon.svg" />
</ItemGroup>

<ItemGroup>
	<MauiIcon Include="Resources\AppIcon\icon.svg" />
</ItemGroup>

The fact is before that, I was not able to change my app icon and splashcreen by replacing the default files given in the MAUI app project template. I got this error when I try to use a new icon file instead of the default one that I have deleted from the project.

Steps to Reproduce

Create a new MAUI app project

Delete both “appicon.svg” and “appiconfg.svg” files from the project.

Add a new svg file to be the new icon.

Set this new file build action to MauiIcon

Try to run the project on a physical iOS device

Link to public reproduction project repository

https://bitbucket.org/aboulinguez/issuemaui_2023-04-22

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

VS 17.5.33516.290 ; maui-ios 7.0.59/7.0.100 ; ios 16.2.1024/7.0.100

Did you find any workaround?

No workaround found

Relevant log output

No response

Issue Analytics

  • State:open
  • Created 5 months ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
TomDacquinDMScommented, May 12, 2023

any workaround suggestions? I’m unable to publish my app because of this

1reaction
Jake-Derrickcommented, Jul 10, 2023

In the info.plist you have

<key>XSAppIconAssets</key>
<string>Assets.xcassets/appicon.appiconset</string>

The AppIcon file name is icon.svg

What worked for me was making sure those name matched, ex rename the svg to appicon.svg or in info.plist to icon.appiconset

Read more comments on GitHub >

github_iconTop Results From Across the Web

none of the input catalogs contained a matching app icon ...
Name it something like "temporaryApp". Open the Images.xcassets in the temporaryApp. Here, you can see AppIcon . Click and drag this to Images....
Read more >
no matching launch image ??? | Apple Developer Forums
Hello, I a getting this weird compile error: None of the input catalogs contained a matching launch image set named "LaunchImage".
Read more >
Change the app icon - .NET MAUI
Learn how to change the.NET MAUI app icon. The icon is the logo that represents your app in multiple places, such as the...
Read more >
when i run the app it says that none of the input catalogs ...
when i run the app it says that none of the input catalogs contained a matching app icon set named "AppIcon". Whatt is...
Read more >
Moving on from Xamarin Forms to MAUI
actool error : None of the input catalogs contained a matching stickers icon set or app icon set named "AppIcon".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found