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.21k stars 1.75k forks source link

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

Closed vsfeedback closed 1 year ago

vsfeedback commented 1 year ago

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)

MPCoreDeveloper commented 1 year ago

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:

" 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 commented 1 year ago

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.

https://user-images.githubusercontent.com/102550248/231029227-bbd49bde-5b1b-43f2-b6ae-8429d09af6ab.mp4

illusionofecho commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Could you share the specific XCode version?

illusionofecho commented 1 year ago

Could you share the specific XCode version?

14.3

chrispem commented 1 year ago

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

UIApplicationSceneManifest
<dict>
    <key>UIApplicationSupportsMultipleScenes</key>
    <false/>
</dict>

This then causes my app to black screen.

nicolaoud commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 :

https://user-images.githubusercontent.com/120624987/236490367-7211d32d-cb0e-434d-bb8b-2125e971d48e.mp4

DamianSuess commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.

dpozimski commented 1 year ago

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

DamianSuess commented 1 year ago

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 commented 1 year ago

Me esta ocurriendo el mismo problema en macbook xcode version 14.3.1

JeffreyGarrett commented 1 year ago

Having the same issue

mustinherit commented 1 year ago

Same...

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

Splash screen is a 512x512 svg image.

jhert0 commented 1 year ago

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

DamianSuess commented 1 year ago

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

Richard-Dufour commented 1 year ago

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 commented 1 year ago

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

ithiredguns commented 1 year ago

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 commented 1 year ago

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

ithiredguns commented 1 year ago

https://github.com/dotnet/maui/assets/27841167/cb29d4b8-f2e3-4612-b472-a54aa04fac90

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

Richard-Dufour commented 1 year ago

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 commented 1 year ago

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

Hot Restart does not support scene delegates.

mattleibow commented 1 year ago

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

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

mattleibow commented 1 year ago

Duplicate of https://github.com/xamarin/xamarin-macios/issues/18777

mattleibow commented 1 year ago

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