MAUI iOS - None of the input catalogs contained a matching stickers icon set or app icon set named "appicon"
See original GitHub issueDescription
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:
- Created 5 months ago
- Comments:5
Top Related StackOverflow Question
any workaround suggestions? I’m unable to publish my app because of this
In the info.plist you have
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