-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bug Has Returned - MAUI iOS Splash Screen Not Updated After First Install #24562
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
Are you deploying to your physical iOS device directly from Windows? With no Mac involved? Does it show the .NET splash screen or just a black screen? You mention the bug is now back, is this something that has affected you personally before, or do you think that because you found the other reports? |
I'll share a video today. It doesn't matter how I deploy. The icon and splash screen that show are the first that were used when deployed. So, if I update and deploy to a different device/simulator, the new icon/splash appears. If I update and deploy to the same device, regardless of connected locally or remote via Pair to Mac, the icon/splash stay the same. I did try the workaround of renaming the splash screen. Doing so insta-crashes the deployed app. I haven't grabbed the logs yet, but it only appears to confirm an issue exists. |
I'm debugging this a bit more. I've thought for a moment if the build number doesn't change, the icon and splash will stay the same. If I change the build number, it will update. Same issue does not affect Android. Have not tried Windows yet. This is because I noticed when debugging my iPad via Pair to Mac it would update properly. It does not matter if you clean the project/solution or delete obj/bin. It also doesn't matter if you uninstall. I'll work to get a video to show the issue if I can repro. I then plugged the device back in to my Surface and debugged locally. The old icon came back. What flag can I set to get the logs for when it's building and running locally vs. building and running via Pair to Mac / Remotely, please? Perhaps those will offer insight. |
OK here's a video of the issue. Note that if I deploy locally, the old icon comes back. If I connect to the Mac via Pair to Mac the new icon appears. If I connect a new device, the new icon appears. I did not record the latter, but the video should make what's happening clear. |
On another note, you might want to update the Copyright statement for VS to 2024? |
Dump of VS Details: Microsoft Visual Studio Enterprise 2022 Installed Version: Enterprise Architecture Diagrams and Analysis Tools 00476-80000-00000-AA436 Visual C++ 2022 00476-80000-00000-AA436 ADL Tools Service Provider 1.0 ASA Service Provider 1.0 ASP.NET and Web Tools 17.11.230.51983 Azure App Service Tools v3.0.0 17.11.230.51983 Azure Data Lake Tools for Visual Studio 2.6.5000.0 Azure Functions and Web Jobs Tools 17.11.230.51983 Azure Stream Analytics Tools for Visual Studio 2.6.5000.0 C# Tools 4.11.0-3.24376.4+5e3a11e2e7f952da93f9d35bd63a2fa181c0608b Common Azure Tools 1.10 Cookiecutter 17.0.24138.2 Entity Framework Core Power Tools 2.6 Extensibility Message Bus 1.4.39 (main@e8108eb) GitHub Copilot 0.2.1634.3922 Microsoft Azure Hive Query Language Service 2.6.5000.0 Microsoft Azure Stream Analytics Language Service 2.6.5000.0 Microsoft Azure Tools for Visual Studio 2.9 Microsoft JVM Debugger 1.0 Mono Debugging for Visual Studio 17.11.3 (ba13144) Node.js Tools 1.5.60329.1 Commit Hash:15fce86a17f9f33e5bd7ca7ccb9b216aff149252 NuGet Package Manager 6.11.0 Office Developer Tools for Visual Studio 17.10.35004.02 Python - Profiling support 17.0.24138.2 Python with Pylance 17.0.24138.2 Razor (ASP.NET Core) 17.11.3.2442001+68650a7d94261bc56a1f4bc522c2ee35314b1abb SQL Server Data Tools 17.11.38.0 ToolWindowHostedEditor 1.0 TypeScript Tools 17.0.30715.2002 Visual Basic Tools 4.11.0-3.24376.4+5e3a11e2e7f952da93f9d35bd63a2fa181c0608b Visual F# Tools 17.11.0-beta.24317.3+c07c8ebad62f6629b36349381991a299598a8d74 Visual Studio IntelliCode 2.2 VisualStudio.DeviceLog 1.0 VisualStudio.Mac 1.0 VSPackage Extension 1.0 Workflow Manager Tools 1.0 1.0 Xamarin 17.11.0.94 (d17-11@e83323e) Xamarin Designer 17.11.3.11 (remotes/origin/d17-11@cdbb0a4fdd) Xamarin Templates 17.9.0 (38e87ba) Xamarin.Android SDK 13.2.2.0 (d17-5/45b0e14) Xamarin.iOS and Xamarin.Mac SDK 16.4.0.23 (9defd91b3) ZenCoding 1.2.20 |
This issue has been verified using Visual Studio 17.11.2 (8.0.80 & 8.0.82 ). Can repro on iOS local device platform. |
This is the explanation right here. If you deploy directly from Windows to your iDevice, you're using Hot Restart. If you look at the documentation and look under Limitations, you will find
So this is expected and a known limitation. Closing this one as there is not much we can do here at this time. Thank you so much for the video which made it all very clear! |
Description
The issue mentioned in the following bug is back:
#8685
Same effective repro steps. Android works. iOS does not. Using .NET 8 release.
Steps to Reproduce
See original issue. This bug appears to have returned.
Link to public reproduction project repository
No response
Version with bug
8.0.82 SR8.2
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 17.6.1
Did you find any workaround?
No, and the workaround mentioned in the original doesn't appear to work. I tried renaming the file and the app just instantly crashes, even though the .csproj was updated properly.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: