Closed acaliaro closed 1 year ago
Hi @acaliaro and thanks for reaching out to us. Could you include the Verbose logs (AppCenter.LogLevel = LogLevel.Verbose before your call to AppCenter.Start(...)) and provide us with the logs that predate your error. Also, could you clarify which version of the framework you are using. This will help us a lot in identifying the problem.
this is the code
AppCenter.LogLevel = Microsoft.AppCenter.LogLevel.Verbose;
AppCenter.Start("XXXXX-----111922", typeof(Analytics), typeof(Crashes));
this is the VS log. I am on .NET 7
Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/Microsoft.iOS.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Runtime.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Collections.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Runtime.InteropServices.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Threading.Thread.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Threading.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.Http.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.Primitives.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Numerics.Vectors.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.Sockets.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Drawing.Primitives.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Private.Uri.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/Xamarin.PreBuilt.iOS.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/Xamarin.iOS.HotRestart.Application.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/netstandard.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.IO.MemoryMappedFiles.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.IO.Pipes.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Memory.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Diagnostics.Tracing.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Collections.NonGeneric.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/Microsoft.Win32.Primitives.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.NameResolution.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Threading.ThreadPool.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Collections.Concurrent.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Diagnostics.Process.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.ComponentModel.Primitives.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.ComponentModel.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.ObjectModel.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Diagnostics.FileVersionInfo.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Reflection.Metadata.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Collections.Immutable.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Linq.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.IO.Compression.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Text.Encoding.Extensions.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Collections.Specialized.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Security.Cryptography.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Formats.Asn1.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Runtime.Numerics.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.ComponentModel.TypeConverter.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Runtime.Loader.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Text.RegularExpressions.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Reflection.Emit.ILGeneration.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Reflection.Emit.Lightweight.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Reflection.Primitives.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.Security.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Security.Claims.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Runtime.Serialization.Formatters.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Resources.Writer.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Xml.XDocument.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Private.Xml.Linq.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Private.Xml.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Diagnostics.TraceSource.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Diagnostics.DiagnosticSource.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.Quic.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.IO.Compression.Brotli.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Threading.Channels.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.NetworkInformation.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Reflection.Emit.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Linq.Expressions.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.ComponentModel.EventBasedAsync.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Console.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Data.Common.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Xml.ReaderWriter.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Xml.XmlSerializer.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Transactions.Local.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Diagnostics.Contracts.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Diagnostics.TextWriterTraceListener.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Diagnostics.StackTrace.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.IO.Compression.ZipFile.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.IO.FileSystem.DriveInfo.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.IO.FileSystem.Watcher.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.IO.IsolatedStorage.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Linq.Queryable.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Linq.Parallel.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.Requests.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.WebHeaderCollection.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.ServicePoint.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.HttpListener.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.WebSockets.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Security.Principal.Windows.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.WebClient.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.WebProxy.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.Mail.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.Ping.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Net.WebSockets.Client.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Reflection.DispatchProxy.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Runtime.CompilerServices.VisualC.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Runtime.Serialization.Primitives.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Runtime.Serialization.Xml.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Private.DataContractSerialization.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Runtime.Serialization.Json.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Threading.Overlapped.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Threading.Tasks.Parallel.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Web.HttpUtility.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Xml.XPath.XDocument.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Xml.XPath.dll [External] Thread started: #2 Thread started: .NET Timer #3 Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/UnicoopFirenzeOrdiniPdv.dll 2023-08-03 18:50:18.568 Xamarin.PreBuilt.iOS[78908:5521539] Content folder: /var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content
2023-08-03 18:50:18.569 Xamarin.PreBuilt.iOS[78908:5521539] App path /var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/UnicoopFirenzeOrdiniPdv.dll
Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.Maui.Controls.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.Maui.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/CommunityToolkit.Maui.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/CommunityToolkit.Maui.Core.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/CommunityToolkit.Mvvm.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.AppCenter.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.Maui.Graphics.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.Maui.Controls.Compatibility.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.AppCenter.Crashes.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.Extensions.DependencyInjection.Abstractions.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.Extensions.Logging.dll [External] 2023-08-03 18:50:18.624 Xamarin.PreBuilt.iOS[78908:5521539] AppDelegate name: AppDelegate
Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.Extensions.Logging.Abstractions.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.Extensions.Options.dll [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.Maui.Controls.Xaml.dll [External]
Thread started:
2023-08-03 18:50:19.006 Xamarin.PreBuilt.iOS[78908:5521539] 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/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.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]. Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Text.Json.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/A280B30E-B8FF-4921-BB49-C2475424AD1C/UnicoopFirenzeOrdiniPdv.app/System.Text.Encodings.Web.dll [External] 2023-08-03 18:50:19.158 Xamarin.PreBuilt.iOS[78908:5521539] 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/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Microsoft.VisualStudio.DesignTools.TapContract.dll' or one of its dependencies.
2023-08-03 18:50:19.155 Xamarin.PreBuilt.iOS[78908:5521539] 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/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/Xamarin.HotReload.Contracts.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]. [0:] An error occurred: 'Could not create an native instance of the type 'Microsoft.AppCenter.Apple.Bindings.MSACWrapperSdk': the native class hasn't been loaded. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false.'. Callstack: ' at Foundation.NSObject.InitializeObject(Boolean alloced) at Foundation.NSObject..ctor(NSObjectFlag x) at Microsoft.AppCenter.Apple.Bindings.MSACWrapperSdk..ctor(String wrapperSdkVersion, String wrapperSdkName, String wrapperRuntimeVersion, String liveUpdateReleaseLabel, String liveUpdateDeploymentKey, String liveUpdatePackageHash) at Microsoft.AppCenter.AppCenter.SetWrapperSdk() at Microsoft.AppCenter.AppCenter.PlatformStart(String appSecret, Type[] services) at Microsoft.AppCenter.AppCenter.Start(String appSecret, Type[] services) at UnicoopFirenzeOrdiniPdv.MauiProgram.CreateMauiApp() in C:\Soluzione1\Progetti\DABUTTARE\UnicoopFirenzeOrdiniPdv\MauiProgram.cs:line 45 at UnicoopFirenzeOrdiniPdv.AppDelegate.CreateMauiApp() in C:\Soluzione1\Progetti\DABUTTARE\UnicoopFirenzeOrdiniPdv\Platforms\iOS\AppDelegate.cs:line 8 at Microsoft.Maui.MauiUIApplicationDelegate.WillFinishLaunching(UIApplication application, NSDictionary launchOptions) at UIKit.UIApplication.UIApplicationMain(Int32 argc, String[] argv, IntPtr principalClassName, IntPtr delegateClassName) at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) at UnicoopFirenzeOrdiniPdv.Program.Main(String[] args) in C:\Soluzione1\Progetti\DABUTTARE\UnicoopFirenzeOrdiniPdv\Platforms\iOS\Program.cs:line 13 at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)' 2023-08-03 18:50:19.234 Xamarin.PreBuilt.iOS[78908:5521539] Could not resolve assembly UnicoopFirenzeOrdiniPdv.resources, Version=1.0.0.0, Culture=it, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/UnicoopFirenzeOrdiniPdv.resources.dll' or one of its dependencies.
2023-08-03 18:50:19.232 Xamarin.PreBuilt.iOS[78908:5521539] Could not resolve assembly UnicoopFirenzeOrdiniPdv.resources, Version=1.0.0.0, Culture=it-IT, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/63497F88-CFAC-4982-93D5-5FC2BB025703/Documents/UnicoopFirenzeOrdiniPdv.content/UnicoopFirenzeOrdiniPdv.resources.dll' or one of its dependencies.
L'app è stata terminata.
Thanks for your information, I managed to reproduce this bug and created a work item on our dashboard. We will monitor progress here.
hi @acaliaro , may I ask you to disable hot restart in VS and try to build without it? Would it work?
Hi @DmitriyKirakosyan
IT seems I can't debug if I set the flag to false. The problem is not in build, but in debug. It's a runtime exception
Hi @acaliaro , in the case disabling hot restart helps, it is a known issue. Unfortunately AppCenter doesn't support hot restart as it uses a native static binary.
I'm closing this as a duplicate of https://github.com/microsoft/appcenter-sdk-dotnet/issues/1680.
You should still be able to debug your app, however updating/rebuilding the app might take more time.
@acaliaro did you find a solution for this runtime exception?
@acaliaro did you find a solution for this runtime exception? No @GUOLDEV. It seems the problem is only in debug mode. In release mode, by creating the ipa and installing it on an iOS device, the app records both crashes and errors
Description
I try to use AppCenter in a .NET MAUI APP but I have this exception: [0:] An error occurred: 'Could not create an native instance of the type 'Microsoft.AppCenter.Apple.Bindings.MSACWrapperSdk': the native class hasn't been loaded. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false.'. Callstack: ' at Foundation.NSObject.InitializeObject(Boolean alloced) at Foundation.NSObject..ctor(NSObjectFlag x) at Microsoft.AppCenter.Apple.Bindings.MSACWrapperSdk..ctor(String wrapperSdkVersion, String wrapperSdkName, String wrapperRuntimeVersion, String liveUpdateReleaseLabel, String liveUpdateDeploymentKey, String liveUpdatePackageHash) at Microsoft.AppCenter.AppCenter.SetWrapperSdk() at Microsoft.AppCenter.AppCenter.PlatformStart(String appSecret, Type[] services) at Microsoft.AppCenter.AppCenter.Start(String appSecret, Type[] services) at UnicoopFirenzeOrdiniPdv.MauiProgram.CreateMauiApp() in C:\Soluzione1\Progetti\DABUTTARE\UnicoopFirenzeOrdiniPdv\MauiProgram.cs:line 45 at UnicoopFirenzeOrdiniPdv.AppDelegate.CreateMauiApp() in C:\Soluzione1\Progetti\DABUTTARE\UnicoopFirenzeOrdiniPdv\Platforms\iOS\AppDelegate.cs:line 8 at Microsoft.Maui.MauiUIApplicationDelegate.WillFinishLaunching(UIApplication application, NSDictionary launchOptions) at UIKit.UIApplication.UIApplicationMain(Int32 argc, String[] argv, IntPtr principalClassName, IntPtr delegateClassName) at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) at UnicoopFirenzeOrdiniPdv.Program.Main(String[] args) in C:\Soluzione1\Progetti\DABUTTARE\UnicoopFirenzeOrdiniPdv\Platforms\iOS\Program.cs:line 13 at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)'
Repro Steps
run the project
Details
What is your app platform (Xamarin.Android or Xamarin.iOS or UWP)?
Which SDK version are you using?
Which OS version did you experience the issue on?
What device version did you see this error on? Were you using an emulator or a physical device?
What third party libraries are you using?
Please enable verbose logging for your app using
AppCenter.LogLevel = LogLevel.Verbose
before your call toAppCenter.Start(...)
and include the logs here: