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.03k stars 1.73k forks source link

App cant run on iOS, but normal on mac and android simulator. #8132

Closed rheza closed 1 year ago

rheza commented 2 years ago

Description

An app cant run on iOS Simulator, app only showing splash screen, and immediately force close. I try to change to my previous commit, but all cant run on ios simulator.

Steps to Reproduce

  1. Open Project.
  2. Select iOS Emulator.
  3. Run on iOS.
  4. App only showing splashscreen and automatically force close.

Version with bug

6.0 Release Candidate 3

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 15.3

Did you find any workaround?

-

Relevant log output

Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.iOS.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Collections.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.InteropServices.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Threading.Thread.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Threading.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/UsUsGas.dll
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Maui.Controls.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.ObjectModel.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Maui.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Maui.Controls.Xaml.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.ComponentModel.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Private.Uri.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Maui.Graphics.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Numerics.Vectors.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Xml.ReaderWriter.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Private.Xml.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Memory.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Diagnostics.TraceSource.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Collections.NonGeneric.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Collections.Specialized.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.ComponentModel.Primitives.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.CompilerServices.Unsafe.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Text.RegularExpressions.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Reflection.Emit.ILGeneration.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Collections.Concurrent.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Reflection.Emit.Lightweight.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Reflection.Primitives.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.Primitives.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Diagnostics.Tracing.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Win32.Primitives.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.Http.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.Security.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Security.Cryptography.X509Certificates.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Security.Cryptography.Algorithms.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Security.Cryptography.Primitives.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Formats.Asn1.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Text.Encoding.Extensions.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.Numerics.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Security.Cryptography.Encoding.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.Sockets.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.NameResolution.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Threading.ThreadPool.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.InteropServices.RuntimeInformation.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Security.Claims.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Linq.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Diagnostics.DiagnosticSource.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.Quic.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.IO.Compression.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.IO.Compression.Brotli.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Threading.Channels.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.NetworkInformation.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Reflection.Emit.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.Loader.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Linq.Expressions.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.ComponentModel.TypeConverter.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Drawing.Primitives.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.Serialization.Formatters.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Resources.Writer.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Xml.XDocument.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Private.Xml.Linq.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Extensions.Logging.Abstractions.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Extensions.DependencyInjection.Abstractions.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Maui.Essentials.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Console.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Extensions.Configuration.Abstractions.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/netstandard.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.IO.MemoryMappedFiles.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.IO.Pipes.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Diagnostics.Process.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Diagnostics.FileVersionInfo.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Reflection.Metadata.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Collections.Immutable.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.ComponentModel.EventBasedAsync.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Data.Common.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Xml.XmlSerializer.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Transactions.Local.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Diagnostics.Contracts.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Diagnostics.TextWriterTraceListener.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Diagnostics.StackTrace.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.IO.Compression.ZipFile.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.IO.FileSystem.DriveInfo.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.IO.FileSystem.Watcher.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.IO.IsolatedStorage.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Linq.Queryable.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Linq.Parallel.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.Requests.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.WebHeaderCollection.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.ServicePoint.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.HttpListener.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.WebSockets.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Security.Principal.Windows.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.WebClient.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.WebProxy.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.Mail.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.Ping.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Net.WebSockets.Client.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Reflection.DispatchProxy.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.CompilerServices.VisualC.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.Serialization.Primitives.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.Serialization.Xml.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Private.DataContractSerialization.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Runtime.Serialization.Json.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Security.Cryptography.Csp.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Threading.Overlapped.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Threading.Tasks.Parallel.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Web.HttpUtility.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Xml.XPath.XDocument.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Xml.XPath.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Extensions.Primitives.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Extensions.Configuration.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Extensions.Logging.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Extensions.Options.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Microsoft.Extensions.DependencyInjection.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Firebase.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Newtonsoft.Json.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/LiteDB.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Reactive.dll [External]
2022-06-17 08:29:01.991609+0700 UsUsGas[33710:8788340] Could not find `System.Runtime.InteropServices.WindowsRuntime` referenced by assembly `System.Reactive, Version=4.0.0.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263`.
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/Firebase.Auth.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Diagnostics.Debug.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Reflection.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Threading.Tasks.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Reflection.Extensions.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Text.Encoding.dll [External]
Resolved pending breakpoint for 'UsUsGas.Program.Main(System.String[])' to /Users/rheza/Projects/UsUsGas/UsUsGas/Platforms/iOS/Program.cs:10 [0x00000].
Loaded assembly: data-0x7fe37a554000 [External]
Loaded assembly: data-0x7fe37a568000 [External]
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointSendToIde(System.String)' to /Users/runner/work/1/s/HotReload/Source/Xamarin.HotReload.Agent/HotReloadAgent.cs:419 [0x00000].
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Text.Json.dll [External]
Loaded assembly: /Users/rheza/Library/Developer/CoreSimulator/Devices/DFB3FA35-0B0D-4798-AE5B-61BA98D0F094/data/Containers/Bundle/Application/A605B55A-402C-4D4A-A40E-A83AF215CBA4/UsUsGas.app/System.Text.Encodings.Web.dll [External]
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to /Users/runner/work/1/s/HotReload/Source/Xamarin.HotReload.Agent/HotReloadAgent.cs:414 [0x00000].
pierre01 commented 2 years ago

I seem to have the same issue

AndreasReitberger commented 2 years ago

Same here, started after I had updated to the latest VS 2022 Preview version yesterday (on Windows).

AndreasReitberger commented 2 years ago

@rheza why did you close the issue? Have you found a fix for your problem?

rheza commented 2 years ago

@rheza why did you close the issue? Have you found a fix for your problem?

Sorry i mistakenly clicked the close issue.

I just updated the .net sdk, it still force close on ios simulator.

jfversluis commented 2 years ago

So summarizing this: you have all updated to the Visual Studio Preview that came out a couple of days ago (that would be v17.3 preview 2) and now you're unable to run your iOS apps? How are you running your iOS apps? With the remote Simulator connected to a Mac Build Host? Through Hot Restart?

If you run dotnet --version what does that tell you?

It seems this might be a tooling error though, in which case you might want to go into Visual Studio then the Help menu and Report Feedback and then report it that way. Then all the right logs etc will be included and it will be routed to the right team.

cc: @maddymontaquila @drasticactions

AndreasReitberger commented 2 years ago

@jfversluis In my case, yes. Before updating to v17.3 Preview 2, it was working fine with the same project (no code changes between the update of VS).

I'm running VS on Windows. The app runs on my paired MAC. The app starts just fine, then it hangs on the splashscreen. (saying in VS: XAML Hot Reload is initialized). After a while, VS says "XAML Hot Reload failed to be initialized" (freely translated from German to English).

image

In the same time this message pops up saying there was a timeout for the XAML reload to communicate with the remote application. image

image

Microsoft Visual Studio Community 2022
Version 17.3.0 Preview 2.0
VisualStudio.17.Preview/17.3.0-pre.2.0+32611.2
Microsoft .NET Framework
Version 4.8.04084

Installierte Version: Community

ASP.NET and Web Tools   17.3.252.56319
ASP.NET and Web Tools

Azure App Service-Tools v3.0.0   17.3.252.56319
Azure App Service-Tools v3.0.0

C#-Tools   4.3.0-2.22307.7+069a85a786acae3be2c7b49e330b7f968a624c88
C#-Komponenten, die in der IDE verwendet werden. Abhängig von Ihrem Projekttyp und den zugehörigen Einstellungen kann eine andere Version des Compilers verwendet werden.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Extensibility Message Bus   1.2.6 (master@34d6af2)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Mono Debugging for Visual Studio   17.3.11 (4f73250)
Support for debugging Mono processes with Visual Studio.

NuGet-Paket-Manager   6.3.0
NuGet-Paket-Manager in Visual Studio. Weitere Informationen zu NuGet finden Sie unter https://docs.nuget.org/.

Razor (ASP.NET Core)   17.0.0.2226702+6ac021dcee9db30337fdfc99f710c685002e5dc6
Stellt Sprachdienste für ASP.NET Core Razor bereit.

TypeScript-Tools   17.0.10601.2001
TypeScript-Tools für Microsoft Visual Studio

Visual Basic-Tools   4.3.0-2.22307.7+069a85a786acae3be2c7b49e330b7f968a624c88
Visual Basic-Komponenten, die in der IDE verwendet werden. Abhängig von Ihrem Projekttyp und den zugehörigen Einstellungen kann eine andere Version des Compilers verwendet werden.

Visual F# Tools   17.1.0-beta.22281.4+2b8fcc0c0a1cf1d69380159c7d03be993bba4016
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
KI-gestützte Entwicklung für Visual Studio.

VisualStudio.DeviceLog   1.0
Informationen zum Paket

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

VSPackage-Erweiterung   1.0
Detaillierte Informationen zur VSPackage Visual Studio-Erweiterung

Xamarin   17.3.0.220 (main@1d7b676)
Visual Studio-Erweiterung, um Entwicklung für Xamarin.iOS und Xamarin.Android zu ermöglichen.

Xamarin Designer   17.3.0.102 (remotes/origin/d17-3@9d1ed6d99)
Visual Studio-Erweiterung zum Aktivieren der Xamarin Designer-Tools in Visual Studio.

Xamarin Templates   17.2.15 (2e3b60e)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK   12.3.99.95 (main/5432886)
Xamarin.Android Reference Assemblies and MSBuild support.
    Mono: dffa5ab
    Java.Interop: xamarin/java.interop/main@1f27ab55
    SQLite: xamarin/sqlite/3.38.5@df4deab
    Xamarin.Android Tools: xamarin/xamarin-android-tools/main@fc3c2ac

Xamarin.iOS and Xamarin.Mac SDK   15.11.0.308 (7ad9f8893)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Edit: Opened an issue for VS: https://developercommunity.visualstudio.com/t/Debuggin-on-iOS-Simulator-running-on-MAC/10074312

AndreasReitberger commented 2 years ago

Just tried my Xamarin.Forms build with VS 2022 17.3 Preview 2 and it's working. Only the MAUI app seems to have troubles,

maddymontaquila commented 2 years ago

Hello! Does this look the same as https://developercommunity.visualstudio.com/t/post/10074510 ?? If so we can track and follow it there!

rheza commented 2 years ago

I'm on mac, working on Maui project, trying to run it on iOS simulator. it just force close on the splashscreen.

pierre01 commented 2 years ago

Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.3.0 Preview 2.0

dotnet --version 6.0.400-preview.22301.10

The tools were updated on my mac

I use the simulator on my windows machine through the mac The screen goes blank after the splash screen

the debug window last line shows: '2022-06-17 20:51:58.949037-0700 VinoMatch[90297:1020918] [TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <_UIMoreListTableView: 0x7f94cead7a00; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x6000009d2940>; layer = <CALayer: 0x60000021b640>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <UIMoreListController: 0x7f94d085a000>>'

rheza commented 2 years ago

still force close on ios simulator on the latest updates.

Xamarin.iOS Version: 15.10.0.5 (Visual Studio Community) Hash: 96b3edb6d Branch: d17-2 Build date: 2022-05-18 07:32:07-0400

edgiardina commented 2 years ago

I have a similar issue coming up with my migration attempt from Xamarin Forms. I get an app that hangs on the splash screen until the app is force quit on the device without exception. I think its the splash screen timeout kill from the iOS app. works on Android without problems. Walked through the debugger and the CreateMauiApp method returns, the Shell code seems to run, but the root Page on my tabbar's onappearing is never invoked, and I only see the splash screen. No xamarin or other logging.

https://github.com/edgiardina/IfpaMaui

AndreasReitberger commented 2 years ago

For me, this issue has been fixed with the latest visual studio 2022 preview update. Are you using the latest version?

edgiardina commented 2 years ago

Please disregard my previous feedback, my app was hanging due to a dependency (localnotification nuget package).

CyborgDE commented 2 years ago

Hello, I have the same problem.

I have tested the app from [edgiardina] and it starts on the IPad and then the App close. On the iPad Simulator the App starts (error API key).

I use VS 2022 Version 17.4.0 Preview 1.0.

It's easy to repoduce:

Best regards Uwe

edgiardina commented 2 years ago

So I would like to withdraw my complaint, for now. Yes, my repro does not start in iOS, but its due to Plugin.LocalNotifications nuget package, which while they are working on MAUI support, hangs the app on the splash screen (probably due to permissions or other issues). If I remove Plugin.LocalNotifications, I can get my app to boot in iOS again. The reason it breaks on the real device is probably related to permissions. The original poster may be referring to a different issue but my specific commetns can be disregarded for now.

dsharkou commented 2 years ago

@jfversluis Have also the same issue - VS is trying to run app on iOS simulator and exited with the error Could not connect to the debugger. I tried update everything (MacOS, Xcode, VS) and nothing helped. Also I installed VS 2022 for Mac 17.3 and it has totally the same issue.

Fortunately it's working with Mac device configuration, so I can continue migration, but it may block me soon.

Details:

Thanks!

ghost commented 1 year ago

Hi @rheza. 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.