xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.64k stars 1.88k forks source link

[Bug] Black Splash Screen on iOS #15784

Closed ithiredguns closed 10 months ago

ithiredguns commented 11 months ago

https://github.com/xamarin/Xamarin.Forms/assets/27841167/cb1e783d-ba4e-48cd-b122-e61443f1bd29

Description

iOS version of any app shows only a black splash screen before the Home page is rendered

Steps to Reproduce

  1. Create a Xamarin Form's App
  2. Run the App either in an iOS Simulator or deploy to your device with a AdHoc Provisioning profile
  3. You will see a black splash screen before the home page shows up

Expected Behavior

Show the splash screen

Actual Behavior

Black Screen shows up

Basic Information

Environment

Show/Hide Visual Studio info ``` Visual Studio Professional 2022 for Mac Version 17.6.1 (build 452) Installation UUID: 2845fe0d-7029-41a0-bb71-f3e5a773cba2 Runtime .NET 7.0.3 (64-bit) Architecture: X64 Microsoft.macOS.Sdk 13.1.1007; git-rev-head:8afca776a0a96613dfb7200e0917bb57f9ed5583; git-branch:release/7.0.1xx-xcode14.2 Roslyn (Language Service) 4.6.0-3.23180.6+99e956e42697a6dd886d1e12478ea2b27cceacfa NuGet Version: 6.4.0.117 .NET SDK (x64) SDK: /usr/local/share/dotnet/sdk/7.0.306/Sdks SDK Versions: 7.0.306 7.0.304 7.0.302 7.0.203 6.0.412 6.0.410 6.0.408 6.0.402 6.0.401 6.0.400 6.0.400-preview.22330.6 6.0.301 6.0.300 6.0.203 6.0.202 5.0.408 5.0.407 3.1.426 3.1.424 3.1.423 3.1.422 3.1.421 3.1.420 3.1.419 3.1.418 MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks .NET Runtime (x64) Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 7.0.9 7.0.7 7.0.5 6.0.20 6.0.18 6.0.16 6.0.10 6.0.9 6.0.8 6.0.6 6.0.5 6.0.4 5.0.17 5.0.16 3.1.32 3.1.30 3.1.29 3.1.28 3.1.27 3.1.26 3.1.25 3.1.24 Xamarin.Profiler Version: 1.8.0.49 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler Updater Version: 11 Apple Developer Tools Xcode: 14.3.1 21815 Build: 14E300c Xamarin.Mac Version: 9.3.0.6 Visual Studio Professional Hash: 97731c92c Branch: xcode14.3 Build date: 2023-04-11 22:38:35-0400 Xamarin.iOS Version: 16.4.0.6 Visual Studio Professional Hash: 97731c92c Branch: xcode14.3 Build date: 2023-04-11 22:38:36-0400 Xamarin Designer Version: 17.6.3.9 Hash: 2648399ae8 Branch: remotes/origin/d17-6 Build date: 2023-07-06 12:50:50 UTC Xamarin.Android Version: 13.2.0.6 (Visual Studio Professional) Commit: xamarin-android/d17-5/a200af1 Android SDK: /Users/samnanduri/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 12.1 (API level 32) 12.0 (API level 31) 11.0 (API level 30) 10.0 (API level 29) 9.0 (API level 28) 13.0 (API level 33) SDK Command-line Tools Version: 7.0 SDK Platform Tools Version: 33.0.2 SDK Build Tools Version: 33.0.0 Build Information: Mono: 6dd9def Java.Interop: xamarin/java.interop/d17-5@149d70fe SQLite: xamarin/sqlite/3.40.1@68c69d8 Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-5@9f02d77 Microsoft Build of OpenJDK Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk 11.0.16.1 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL Eclipse Temurin JDK Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk 1.8.0.302 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL Android SDK Manager Version: 17.6.0.50 Hash: a715dca Branch: HEAD Build date: 2023-07-06 12:50:55 UTC Android Device Manager Version: 0.0.0.1309 Hash: 06e3e77 Branch: HEAD Build date: 2023-07-06 12:50:55 UTC Build Information Release ID: 1706010452 Git revision: 9c61cec4d4c4498378f5878b08459d6fd258659d Build date: 2023-07-06 12:49:21+00 Build branch: release-17.6 Build lane: release-17.6 Operating System Mac OS X 13.5.0 Darwin 22.6.0 Darwin Kernel Version 22.6.0 Wed Jul 5 22:21:56 PDT 2023 root:xnu-8796.141.3~6/RELEASE_X86_64 x86_64 ``` https://github.com/xamarin/Xamarin.Forms/assets/27841167/bc5bc203-4123-41f4-a9dc-fa830d080328

Build Logs

Screenshots

Reproduction Link

Workaround

jfversluis commented 10 months ago

This is a more wide-spread issue it seems with Xamarin.iOS as reported here: https://github.com/xamarin/xamarin-macios/issues/18777 please follow the status there, thanks!

ithiredguns commented 10 months ago

The issue that is reported at the link is only for simulators ( https://github.com/xamarin/xamarin-macios/issues/18777 ) ... I was asked to keep this link open for "devices" ... The issue is happening on ADHoc signed devices also... So, I request to keep this issue open

JordiCasas commented 3 months ago

I have the same issue on 16.7.4. Any known workaround?