Skip to content

Commit d2a9631

Browse files
committed
use appicon.svg because iOS won't build otherwise
I resolved a build issue where the iOS MAUI build was looking for appicon but couldn't find it. It appears that MAUI iOS has hard-coded this because I cannot find it referenced anywhere.
1 parent cb8f6a1 commit d2a9631

2 files changed

Lines changed: 269 additions & 1 deletion

File tree

backend/FwLite/FwLiteMaui/FwLiteMaui.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
<ItemGroup>
5656
<!-- App Icon -->
5757
<!-- background color is required for mac per: https://learn.microsoft.com/en-us/dotnet/maui/user-interface/images/app-icons?view=net-maui-8.0&tabs=windows#recolor-the-background -->
58-
<MauiIcon Condition="'$(TargetPlatform)' == 'ios' Or '$(TargetPlatform)' == 'maccatalyst'" Include="Resources\AppIcon\logo_light.svg" Color="#1c4e80" />
58+
<MauiIcon Condition="'$(TargetPlatform)' == 'ios'" Include="Resources\AppIcon\appicon.svg" Color="#1c4e80" />
59+
<MauiIcon Condition="'$(TargetPlatform)' == 'maccatalyst'" Include="Resources\AppIcon\logo_light.svg" Color="#1c4e80" />
5960
<MauiIcon Condition="'$(TargetPlatform)' == 'android'" Include="Resources\AppIcon\logo_background.svg" ForegroundFile="Resources\AppIcon\logo_light_padding.svg" ForegroundScale="0.8" />
6061
<MauiIcon Condition="'$(TargetPlatform)' != 'ios' And '$(TargetPlatform)' != 'maccatalyst' And '$(TargetPlatform)' != 'android'" Include="Resources\AppIcon\logo_light.svg" />
6162
<!-- Splash Screen -->
Lines changed: 267 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)