-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
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