-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Icon for iOS is not created when app icon is not a multiplier by 8 #9067
Comments
Thanks. That worked for me as well. Made height and width match on the App icon svg file and divisible by 8. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Very interesting. I did not know that. Resizetizer (our image generation magic) does this and uses a 1024x1024 image: https://github.com/dotnet/maui/blob/main/src/SingleProject/Resizetizer/src/DpiPath.cs#L110 I wonder if this is still an image and was a result of the errors in the calculations of the physical image size and used the input image size. |
Hi @Symbai. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version. You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
It still doesn't work |
@mattleibow Why isn't "s/try-latest-version" label removed? |
@Symbai mostly because I didn't get a chance to re-review this issue on Friday :) What version of .NET and MAUI did you test on? .NET 7.0.100? |
Does anyone have any documentation on this magical number? @jamesmontemagno I know you might have some Apple apps, did you ever hit a not-a-multiple-of-8 error in the Apple tools? |
App icon is missing is one of the symptoms, yes but it can also be caused by something else. You shouldn't be able to submit it to the app store at all if you have THIS issue. Im using Transporter app from Apple on MacOS which check your IPA file before you can submit it. With an invalid icon, the app icon in Transporter is blank just like on your screen but Transporter check also fails with " |
I am not able to reproduce this at all with .NET 7.0 GA. Can you attach a binlog of this project? And then can you zip up the "obj\Debug\net7.0-ios\iossimulator-x64\resizetizer" folder and reply here. As far as I can tell, no matter the image size (I have an explicit 437x437 SVG image), it always generates a 1024x1024 itunes artwork. |
I have the same behavior, in the simulator there is a file 'appiconItunesArtwork.png', size 1024x1024, but in the appstore there is only an white icon. Is there any workaround for this? We have to deploy to the appstore at the end of January 2023, and time is running ... |
@hattmann can you try this? |
@hattmann can you try with my sample app and see if the system finds my icons? Or at least zip up the resizetizer folder so I can check things. If the image is there but not on apple's side then I am not sure. The images are all set exactly. |
May be related to #11124 Do you have a transparent icon maybe? |
@mattleibow Has this been fixed? I am trying to release a new (blank slate) maui project and set the base size from
So this happens whenever I try to delete
Checked resizetizer and icons are all in there.. Not sure what's wrong.. All was done in VS Mac Preview 6 with |
First, Please try install lastest version of Svg.Skia And, try build ipa from command line. |
Hi @Symbai. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version. You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Verified this issue with Visual Studio Enterprise 17.9.0 Preview 1.1. Not repro this issue. |
Is this also the case with Version 17.8.3 of Enterprise? because i am having similar issue's where i am missing icons files of sizes 167, 150, 120 pixels |
Hello, same here with building and deploying to the app store. When pushing a debug to an iPhone 15 Pro running iOS 17.2 we don't see any app icon. Whereas when checking the obj\Debug\net7.0-ios\ios-arm64\resizetizer\r folder we see the icon's just fine. in this case we use a PNG instead of an SVG with a size of 640x640
After cleaning the solution, project and building +deployig it still doesn't show. Uploader messages: Asset validation failed Asset validation failed VS version: Installed Version: Community Visual C++ 2022 00482-90000-00000-AA065 Arduino IDE for Visual Studio by Visual Micro 22.0 ASP.NET and Web Tools 17.8.358.6298 Azure App Service Tools v3.0.0 17.8.358.6298 Azure Functions and Web Jobs Tools 17.8.358.6298 C# Tools 4.8.0-7.23572.1+7b75981cf3bd520b86ec4ed00ec156c8bc48e4eb Common Azure Tools 1.10 DevExpress Reporting Extension 1.4 DevExpress Reporting Tools Extension 1.0 DevExpress VSDesigner NETFramework Package 1.0 DevExpress.DeploymentTool 1.0 Extensibility Message Bus 1.4.39 (main@e8108eb) Linux Core Dump Debugging 1.0.9.34309 Microsoft JVM Debugger 1.0 Mono Debugging for Visual Studio 17.8.17 (957fbed) NuGet Package Manager 6.8.0 Razor (ASP.NET Core) 17.8.3.2353105+f0a326f3e15b2370371693a76fd379635387c74d SQL Server Data Tools 17.8.119.0 Syncfusion .NET MAUI Template Studio 23.2.4 Syncfusion .NET MAUI Toolbox 23.2.4 Syncfusion ASP.NET Core Project Templates 23.2.4 Syncfusion ASP.NET MVC Project Templates 23.2.4 Syncfusion Blazor Code Generator 23.2.4 Syncfusion Blazor Template Studio 23.2.4 Syncfusion Essential JS1 Web Conversion and Migration 20.4.0.38 Syncfusion Reference Manager 23.2.4 Syncfusion UWP Project Templates 23.2.4 Syncfusion.VSExtension.Troubleshooter 23.2.4 Syncfusion.WindowsForms.Package 23.2.4 SyncfusionMenu Extension 23.2.4 Test Adapter for Boost.Test 1.0 Test Adapter for Google Test 1.0 TypeScript Tools 17.0.20920.2001 Visual Basic Tools 4.8.0-7.23572.1+7b75981cf3bd520b86ec4ed00ec156c8bc48e4eb Visual C++ for Linux Development 1.0.9.34309 Visual F# Tools 17.8.0-beta.23475.2+10f956e631a1efc0f7f5e49c626c494cd32b1f50 Visual Studio IntelliCode 2.2 VisualStudio.DeviceLog 1.0 VisualStudio.Mac 1.0 VSPackage Extension 1.0 Xamarin 17.8.0.155 (d17-8@7042beb) Xamarin Designer 17.8.3.6 (remotes/origin/d17-8@eccf46a291) Xamarin Templates 17.8.16 (830b56a) Xamarin.Android SDK 13.2.2.0 (d17-5/45b0e14) Xamarin.iOS and Xamarin.Mac SDK 16.4.0.23 (9defd91b3) |
Description
Submitting my IPA file to App Store Connect failed with "Missing App Icon" error. See #9035 for more details. I figured it the reason was that my app icon size was not a multiplier by 8. Note: I am NOT speaking about the app icon on the iOS homescreen, I am speaking about the 1024x1024 px PNG app icon that Apple's App Store requires.
SVG size was:
<svg width="437" height="437" ...</svg>
changing it to:
<svg width="440" height="440" ...</svg>
Fixed the problem. I'm reporting this because there should be a build error when publishing for iOS letting the developer know. It took me a few days to find and fix the issue.
Steps to Reproduce
Version with bug
6.0.408 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS
Did you find any workaround?
Making sure that the app icon is a multiplier of 8.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: