Skip to content
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

Maui app black screen in ipad (iPadOS 16.4) #14421

Closed
vsfeedback opened this issue Apr 5, 2023 · 37 comments · Fixed by #12677
Closed

Maui app black screen in ipad (iPadOS 16.4) #14421

vsfeedback opened this issue Apr 5, 2023 · 37 comments · Fixed by #12677
Labels
area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer blocked Work that is currently blocked fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! p/1 Work that is important, and has been scheduled for release in this or an upcoming sprint partner/macios Issues for the Mac / iOS SDK platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working version/ios-16

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


When I run my maui app in my iPad a black screen is shown.

here the logs.

Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/Microsoft.iOS.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Collections.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.InteropServices.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Threading.Thread.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Threading.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.Http.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Numerics.Vectors.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.Sockets.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Drawing.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Private.Uri.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/Xamarin.PreBuilt.iOS.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/Xamarin.iOS.HotRestart.Application.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/netstandard.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.IO.MemoryMappedFiles.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.IO.Pipes.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Memory.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Diagnostics.Tracing.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Collections.NonGeneric.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/Microsoft.Win32.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.NameResolution.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Threading.ThreadPool.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Collections.Concurrent.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Diagnostics.Process.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.ComponentModel.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.ComponentModel.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.ObjectModel.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Diagnostics.FileVersionInfo.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Reflection.Metadata.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Collections.Immutable.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Linq.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.IO.Compression.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Text.Encoding.Extensions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Collections.Specialized.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Security.Cryptography.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Formats.Asn1.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.Numerics.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.ComponentModel.TypeConverter.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.Loader.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Text.RegularExpressions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Reflection.Emit.ILGeneration.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Reflection.Emit.Lightweight.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Reflection.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.Security.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Security.Claims.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.Serialization.Formatters.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Resources.Writer.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Xml.XDocument.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Private.Xml.Linq.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Private.Xml.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Diagnostics.TraceSource.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Diagnostics.DiagnosticSource.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.Quic.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.IO.Compression.Brotli.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Threading.Channels.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.NetworkInformation.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Reflection.Emit.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Linq.Expressions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.ComponentModel.EventBasedAsync.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Console.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Data.Common.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Xml.ReaderWriter.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Xml.XmlSerializer.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Transactions.Local.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Diagnostics.Contracts.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Diagnostics.TextWriterTraceListener.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Diagnostics.StackTrace.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.IO.Compression.ZipFile.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.IO.FileSystem.DriveInfo.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.IO.FileSystem.Watcher.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.IO.IsolatedStorage.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Linq.Queryable.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Linq.Parallel.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.Requests.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.WebHeaderCollection.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.ServicePoint.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.HttpListener.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.WebSockets.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Security.Principal.Windows.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.WebClient.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.WebProxy.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.Mail.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.Ping.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Net.WebSockets.Client.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Reflection.DispatchProxy.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.CompilerServices.VisualC.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.Serialization.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.Serialization.Xml.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Private.DataContractSerialization.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.Serialization.Json.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Threading.Overlapped.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Threading.Tasks.Parallel.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Web.HttpUtility.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Xml.XPath.XDocument.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Xml.XPath.dll [External]
Thread started:  #2
Thread started: .NET Timer #3
2023-04-01 23:05:24.341 Xamarin.PreBuilt.iOS[448:16209] Content folder: /var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content

2023-04-01 23:05:24.345 Xamarin.PreBuilt.iOS[448:16209] App path /var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Punto365.Comandero.dll

Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Punto365.Comandero.dll
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Maui.Controls.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Maui.dll [External]
2023-04-01 23:05:24.391 Xamarin.PreBuilt.iOS[448:16209] AppDelegate name: AppDelegate

Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/ServiceStack.OrmLite.SqlServer.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/ServiceStack.OrmLite.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Maui.Graphics.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Security.Cryptography.ProtectedData.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Newtonsoft.Json.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Windows.Extensions.dll [External]
Thread started:  #4
Thread started: .NET ThreadPool Gate #5
2023-04-01 23:05:24.534 Xamarin.PreBuilt.iOS[448:16209] Could not resolve assembly System.Windows.Extensions.resources, Version=6.0.0.0, Culture=es-MX, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Windows.Extensions.resources.dll' or one of its dependencies.

Thread started:  #6
2023-04-01 23:05:24.542 Xamarin.PreBuilt.iOS[448:16209] Could not resolve assembly System.Windows.Extensions.resources, Version=6.0.0.0, Culture=es, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Windows.Extensions.resources.dll' or one of its dependencies.

[0:] Failed to force load assembly /var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Windows.Extensions.dll. Type:System.Security.Cryptography.X509Certificates.X509Certificate2UI. Exception: 'System.Windows.Extensions types are not supported on this platform.'. Callstack: '   at System.Security.Cryptography.X509Certificates.X509Certificate2UI.. ctor()
   at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)'
[0:] Failed to force load assembly /var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Windows.Extensions.dll. Type:System.Media.SoundPlayer. Exception: 'System.Windows.Extensions types are not supported on this platform.'. Callstack: '   at System.Media.SoundPlayer.. ctor()
   at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)'
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Maui.Controls.Compatibility.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Punto365.Resources.dll
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Punto365.Globals.dll
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/ServiceStack.Common.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/ServiceStack.Interfaces.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Punto365.Common.dll
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Punto365.DB.dll
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Win32.SystemEvents.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/zxing.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/SQLitePCLRaw.batteries_v2.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/FastDeepCloner.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Security.Permissions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Security.AccessControl.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Configuration.ConfigurationManager.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Extensions.DependencyInjection.Abstractions.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Extensions.Logging.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Extensions.Logging.Abstractions.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Extensions.Options.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Maui.Controls.Xaml.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Drawing.Common.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Data.SqlClient.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.Extensions.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/ZXing.Net.MAUI.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Extensions.Configuration.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Extensions.Configuration.Abstractions.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Extensions.Primitives.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/SQLitePCLRaw.core.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/SQLite-net.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/SQLitePCLRaw.provider.sqlite3.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.InteropServices.RuntimeInformation.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Maui.Essentials.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/ServiceStack.Text.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.Extensions.DependencyInjection.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/ZXing.Net.MAUI.Controls.dll [External]
Resolved pending breakpoint for 'Punto365.Comandero.Program.Main(System.String[])' to C:\ProyectosMaui\Punto365Comandero\Punto365.Comandero\Platforms\iOS\Program.cs:10 [0x00000].
Loaded assembly: data-0x10ff90000 [External]
Loaded assembly: data-0x10ffec000 [External]
2023-04-01 23:05:25.450 Xamarin.PreBuilt.iOS[448:16209] Could not resolve assembly Microsoft.VisualStudio.DesignTools.TapContract, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.VisualStudio.DesignTools.TapContract.dll' or one of its dependencies.

2023-04-01 23:05:25.462 Xamarin.PreBuilt.iOS[448:16209] Could not resolve assembly Xamarin.HotReload.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Xamarin.HotReload.Contracts.dll' or one of its dependencies.

Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointSendToIde(System.String)' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:423 [0x00000].
Thread started:  #7
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Text.Json.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Text.Encodings.Web.dll [External]
2023-04-01 23:05:25.715 Xamarin.PreBuilt.iOS[448:16209] Could not resolve assembly Xamarin.HotReload.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Xamarin.HotReload.Contracts.dll' or one of its dependencies.

2023-04-01 23:05:25.721 Xamarin.PreBuilt.iOS[448:16209] Could not resolve assembly Microsoft.VisualStudio.DesignTools.TapContract, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/Microsoft.VisualStudio.DesignTools.TapContract.dll' or one of its dependencies.

Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:418 [0x00000].
Thread started:  #8
Thread started:  #9
Thread started:  #10
2023-04-01 23:05:26.579 Xamarin.PreBuilt.iOS[448:16209] Could not resolve assembly System.Private.DataContractSerialization.resources, Version=7.0.0.0, Culture=es-MX, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Private.DataContractSerialization.resources.dll' or one of its dependencies.

2023-04-01 23:05:26.582 Xamarin.PreBuilt.iOS[448:16209] Could not resolve assembly System.Private.DataContractSerialization.resources, Version=7.0.0.0, Culture=es, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/5B838728-3C7C-4E71-AE88-6B419D691262/Documents/Punto365.Comandero.content/System.Private.DataContractSerialization.resources.dll' or one of its dependencies.

Loaded assembly: /private/var/containers/Bundle/Application/070B4D46-1E5B-4ED4-AD9D-FD59E09E9FD9/Punto365.Comandero.app/System.Runtime.Intrinsics.dll [External]

Pleaes help!


Original Comments

Jorge Arturo Aviles Nuñez on 4/2/2023, 01:56 AM:

(private comment, text removed)

Jorge Arturo Aviles Nuñez on 4/2/2023, 02:49 PM:

(private comment, text removed)

Feedback Bot on 4/2/2023, 08:26 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@samhouts samhouts added the t/bug Something isn't working label Apr 6, 2023
@MPCoreDeveloper
Copy link

I created and tested a MAUI app for our company , tested it in Visual studio current on the emulators and on physical devices with IO 16.2 and a Iphone with IOS 16.4 and it works fine , however I do not have a Physical IPad with IOS 16.4 or for a fact a emulator with IOS 16.4 ( it is 16.2) , when I submitted the app to the Apple store it was tested by Apple and to my surprise i received this message after 1 day

"Guideline 2.1 - Performance - App Completeness

We discovered one or more bugs in your app. Specifically, we noticed the app boots into a black screen and doesn’t boot up further. Please review the details below and complete the next steps.

Review device details:

  • Device type: iPad
  • OS version: iOS 16.4

"
A quick Google lead me to this issue as IOS 16.4 is just one week ago rolled out to my Iphone I guess we have a MAUI bug here? or ??

Note I can`t reproduce this on my side... (the app works fine)

@mcpbcs
Copy link

mcpbcs commented Apr 11, 2023

Well.. the issue is still hapenning...

Attached a video evidence.

If the image resource placed in the icon property does not exists the app will start in a black screen.

2023-04-10.17-37-58.mp4

@illusionofecho
Copy link

Same issue here. Updated Mac and Xcode so the emulators are now running 16.4. Boots into a black screen when there were no issues before. Doesn’t run past the splash screen on a physical iPhone at all. Looking like this is a MAUI problem.

@MPCoreDeveloper
Copy link

I just updated Visual Studio 2022 Enterprise Edition to 17.5.4 , I got now new emulators and now the app also boots to a black screen in the emulator ( where it did not do that before)

To make it even more 'fun' My physical Iphone an iPhone SE with IOS 16.4.1 now gives a constant 'Network error' so i can`t deploy to my physical Iphone anymore at all ( and yes i rebooted the phone and my IDE and my laptop several times now).

Then I thought lets test the app on Android ( it worked fine there and is even already in this version deployed to my consumers by Google in the Play Store) and there it still just works fine on the Physical device a Google Pixel 6 with Android 13 and with the emulators that were also updated by this install to newer versions and SDK 33R2

@klaasel
Copy link

klaasel commented Apr 12, 2023

I was just working through the tutorial, it also gives a black screen upon startup on iOS 16.2. When I remove the icons, the app starts as expected (without icons), so my guess it has to be something with the icons like @mcpbcs mentions . Perhaps related: SO.

EDIT: Somehow it is working again after a few tries.

@jsuarezruiz
Copy link
Contributor

Could you share the specific XCode version?

@jsuarezruiz jsuarezruiz added area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer platform/iOS 🍎 version/ios-16 labels Apr 17, 2023
@illusionofecho
Copy link

Could you share the specific XCode version?

14.3

@chrispem
Copy link

Not sure if this will help anyone, for me the following setting had snuck into the plist:

UIApplicationSceneManifest

UIApplicationSupportsMultipleScenes

This then causes my app to black screen.

@nicolaoud
Copy link

I get a slightly different scenario when using VS 2022 on Mac. I get no screen at all and flow goes straight to my main page. I have tested this on the default startup templates. It works on Android but not iOS or MacCatalyst. This only started to happen on 16.4. I also checked the Plist's for both but don't have the settings chrispem spotted.

@mcpbcs
Copy link

mcpbcs commented Apr 23, 2023

MacOs Ventura 13.2.1
Xcode 14.2 (14C18)

I would like to mention, that the splash screen doesn't work either. The .NET text appears when my logo should appear in my iPad.

In the simulator works corrrectly the splash screen.

@harshaddmi
Copy link

@jsuarezruiz : Any update on this issue ?

I'm experiencing an issue where a Maui app is displaying a black screen on an iPhone running iPhoneOS 16.4 while using Xcode 14.3 and Simulator OS 16.4. What are some troubleshooting steps that I can follow to try and resolve this issue?

@EddieBhoy
Copy link

There is definitely a bug here. If you have icons on bottom tabs, iOS just displays a completely blank black screen. Take the icons out and it works properly.

@EddieBhoy
Copy link

OK, just read another thread and it looks like (for me anyway) that you cannot use an svg image on the tab bar. You need to use the png extension on it (even if it is an svg).

@harshaddmi
Copy link

I have attempted to resolve the issue by creating a new project and running it, but the black screen still appears (even without the bottom tab bar). I have provided a video and the source code for reference. It is important to note that the configuration being used is as follows:
Device OS : 16.4,
Xcode : 14.3,
Visual Studio : Visual Studio Community 2022 for Mac - Version 17.5.4 (build 8).

Code : MAUISplash.zip
Video :

iPhoen14_Pro_16_4_Splash_Black_MAUI.mp4

@DamianSuess
Copy link

DamianSuess commented May 6, 2023

Having the same thing happening on Windows desktop (net7.0-windows10.0.19041.0).
What other info do you folks need to assist w/ this issue?

@raconn
Copy link

raconn commented May 17, 2023

Same issue with Android Pixel 5 emulator... black screen at startup. I notice the iPhone emulators are doing the same with the default main page project. Works as expected on my physical device, which is iPhone 14 Pro.

@KerryXEX
Copy link

I have the same issue with my new MAUI app. Even the plain vanilla template project would just show a black splash screen instead of the .NET purple screen.
I'm having iOS 16.4 on both simulator and device and latest VS Mac versions.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels Jun 12, 2023
@Zhanglirong-Winnie
Copy link
Collaborator

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on iOS platform with sample project.
MAUISplash.zip
14421

@LennardF1989
Copy link

LennardF1989 commented Jun 21, 2023

Can confirm same is true for 17.6.4 on a brand new Mac Studio with latest Xcode, using Simulator.

EDIT: Appears to be a Simulator issue, a real iPhone works fine.

@tibuprophen
Copy link

tibuprophen commented Jun 21, 2023

I'm having the same issue until last week. It works since then on one project - other projects still facing the same problem, so it might be a project-level-configuration thing.
I don't know what I've changed to archieve this.

@samhouts samhouts added the p/1 Work that is important, and has been scheduled for release in this or an upcoming sprint label Jun 21, 2023
@dpozimski
Copy link

having the same issue only on iOS platform in single project maui app

@DamianSuess
Copy link

having the same issue only on iOS platform in single project maui app

I endorse this message of a fellow Damian. 👍

btw, mine still happens on UWP/WinUI and Android using .Net 7

@pablouix
Copy link

Me esta ocurriendo el mismo problema en macbook xcode version 14.3.1

@JeffreyGarrett
Copy link

Having the same issue

@mustinherit
Copy link

Same...

On iPhone13 simulator: OK.
On iPhone14 simulator: black splashscreen is shown.

Splash screen is a 512x512 svg image.

@jhert0
Copy link

jhert0 commented Jul 6, 2023

I'm having this issue also with the iPhone 14 simulator, I tried the iPhone SE (3rd generation) simulator and it works.

@DamianSuess
Copy link

Since this was occurring on Windows and Android, should I create a separate issue or should this issue be tagged to include them?

@samhouts samhouts added this to the .NET 8 GA milestone Jul 12, 2023
@Richard-Dufour
Copy link

Happens for me as well, brand new install on a brand new Mac.
Having the same issue only on iOS platform maui app running on iPhone 14 simulator.
Works on Windows and Android but black screen on iOS after the splash screen.

@SamuelJames101
Copy link

SamuelJames101 commented Jul 24, 2023

Happens for me testing on iPhone, 13.1.1. Resolution for me was move the image out of xAssets and into resources

@ithiredguns
Copy link

Happens for me testing on iPhone, 13.1.1. Resolution for me was move the image out of xAssets and into resources

Didn't work for me

@ithiredguns
Copy link

Doesn't work on Simulator, doesn't work on Device

@ithiredguns
Copy link

ithiredguns commented Jul 26, 2023

iosblacksplashscreenissue.mp4

Same issue on Xamarin Forms too... Works for iOS 14.4 , iOS 15.0, but ### not in iOS 16.4
xamarin/Xamarin.Forms#15784

@Richard-Dufour
Copy link

Richard-Dufour commented Jul 27, 2023

Please see post from joseepa
(https://stackoverflow.com/questions/74742851/net-maui-tabbar-und-ios-causes-black-appscreen-at-start),

make sure you either remove the icon extension or specify .png (not .svg)

In my case, my icons were set as .svg, so setting them to .png fixed it. Strangely enough having .svg worked fine on Windows and Android but caused the black screen on iOS)

<Tab Title="Page1" Icon=dotnet_bot"> <-- this works
<Tab Title="Page1" Icon=dotnet_bot.png"> <-- this works
<Tab Title="Page1" Icon=dotnet_bot.svg"> <-- this causes black screen

@mattleibow
Copy link
Member

Related: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1641233/

Hot Restart does not support scene delegates.

@mattleibow
Copy link
Member

Thanks folks of r all the feedback. I am opening an issue on the macios repo so they can have a closer look: xamarin/xamarin-macios#18777

If anyone has any additional information that I have missed, please add a comment there.

@mattleibow
Copy link
Member

Duplicate of xamarin/xamarin-macios#18777

@mattleibow
Copy link
Member

Closing the issue here as this seems to be related to the iOS SDK or something outside the .NET MAUI workflow: xamarin/xamarin-macios#18777

@mattleibow mattleibow closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! label Sep 12, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-single-project Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer blocked Work that is currently blocked fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! p/1 Work that is important, and has been scheduled for release in this or an upcoming sprint partner/macios Issues for the Mac / iOS SDK platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working version/ios-16
Projects
None yet
Development

Successfully merging a pull request may close this issue.