dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.05k stars 1.73k forks source link

Change IOS App Icon #11722

Closed Kremed closed 1 year ago

Kremed commented 1 year ago

Description

i'm tryna Change MAUI app icon, but all what i got solid background color, this is .csproj file, you can find all configuration for maui app icon :

    <ItemGroup>
        <!-- App Icon -->
        <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#fff" />

        <!-- Splash Screen -->
        <MauiSplashScreen Include="Resources\Splash\splashphoto.svg" Color="#fafafa" />

        <!-- Images -->
        <MauiImage Include="Resources\Images\*" />

        <!-- Fonts -->
        <MauiFont Include="Resources\Fonts\*" />

        <!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
        <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
    </ItemGroup>

       <ItemGroup>
      <BundleResource Remove="Resources\AppIcon\newapplogo.svg" />
      <BundleResource Remove="Resources\AppIcon\appicon.svg" />
    </ItemGroup>
Screenshot 2022-11-29 at 12 22 58 Screenshot 2022-11-29 at 12 42 11

This could not be a bug or a bug, and could be a bug on my part of how to set up the app icon

Steps to Reproduce

-

Link to public reproduction project repository

-

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

IOS 16.1

Did you find any workaround?

No response

Relevant log output

No response

Kremed commented 1 year ago

I just followed the documentation and configured the platform settings, and everything is fine :

https://learn.microsoft.com/en-us/dotnet/maui/user-interface/images/app-icons?view=net-maui-7.0&tabs=ios