xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.44k stars 510 forks source link

Crash in apps using AVAudioSourceNode (Swift replica works) #19634

Closed MortenGregersen closed 9 months ago

MortenGregersen commented 9 months ago

Steps to Reproduce

  1. Attach an AVAudioSourceNode to an AVAudioEngine.
  2. Connect the attached AVAudioSourceNode to the audioEngine.MainMixerNode.
  3. Start the AVAudioEngine.

Expected Behavior

When doing this on iOS, the source node renders the audio data given in the render block passed in the constructor.

If you run the attached Swift project on an iPhone, tap the button, you can hear everything going into the microphone, coming out of the speaker.

Actual Behavior

When doing this in a MAUI app, it crashes when the engine is started.

If you run the attached MAUI-project on an iPhone, the app crashes when the button is tapped (which tries to start the engine).

Crash log (tap happens on 21:37:40) ``` 21:37:20:209 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Private.CoreLib.dll [External] 21:37:20:268 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/Microsoft.iOS.dll [External] 21:37:20:268 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Runtime.dll [External] 21:37:20:331 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Collections.dll [External] 21:37:20:331 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Runtime.InteropServices.dll [External] 21:37:20:396 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Threading.Thread.dll [External] 21:37:20:396 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Threading.dll [External] 21:37:20:506 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.Http.dll [External] 21:37:20:569 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.Primitives.dll [External] 21:37:20:918 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Numerics.Vectors.dll [External] 21:37:24:798 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.Sockets.dll [External] 21:37:24:858 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Drawing.Primitives.dll [External] 21:37:24:858 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Private.Uri.dll [External] 21:37:28:912 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/Xamarin.PreBuilt.iOS.dll [External] 21:37:28:969 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Collections.Concurrent.dll [External] 21:37:29:053 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/Xamarin.iOS.HotRestart.Application.dll [External] 21:37:29:114 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/netstandard.dll [External] 21:37:29:114 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.IO.MemoryMappedFiles.dll [External] 21:37:29:114 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.IO.Pipes.dll [External] 21:37:29:174 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Memory.dll [External] 21:37:29:174 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Diagnostics.Tracing.dll [External] 21:37:29:174 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Collections.NonGeneric.dll [External] 21:37:29:174 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Runtime.Intrinsics.dll [External] 21:37:29:238 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/Microsoft.Win32.Primitives.dll [External] 21:37:29:238 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.NameResolution.dll [External] 21:37:29:238 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Diagnostics.DiagnosticSource.dll [External] 21:37:29:238 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Threading.ThreadPool.dll [External] 21:37:29:366 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Diagnostics.Process.dll [External] 21:37:29:366 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.ComponentModel.Primitives.dll [External] 21:37:29:366 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.ComponentModel.dll [External] 21:37:29:366 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.ObjectModel.dll [External] 21:37:29:366 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Diagnostics.FileVersionInfo.dll [External] 21:37:29:366 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Reflection.Metadata.dll [External] 21:37:29:366 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Collections.Immutable.dll [External] 21:37:29:366 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Linq.dll [External] 21:37:29:366 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.IO.Compression.dll [External] 21:37:29:428 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Text.Encoding.Extensions.dll [External] 21:37:29:428 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Collections.Specialized.dll [External] 21:37:29:428 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Security.Cryptography.dll [External] 21:37:29:428 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Formats.Asn1.dll [External] 21:37:29:492 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Runtime.Numerics.dll [External] 21:37:29:492 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.ComponentModel.TypeConverter.dll [External] 21:37:29:492 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Runtime.Loader.dll [External] 21:37:29:492 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Text.RegularExpressions.dll [External] 21:37:29:555 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Reflection.Emit.ILGeneration.dll [External] 21:37:29:555 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Reflection.Emit.Lightweight.dll [External] 21:37:29:555 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Reflection.Primitives.dll [External] 21:37:29:618 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.Security.dll [External] 21:37:29:618 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Security.Claims.dll [External] 21:37:29:618 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Runtime.Serialization.Formatters.dll [External] 21:37:29:682 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Resources.Writer.dll [External] 21:37:29:682 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Xml.XDocument.dll [External] 21:37:29:682 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Private.Xml.Linq.dll [External] 21:37:29:682 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Private.Xml.dll [External] 21:37:29:746 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Diagnostics.TraceSource.dll [External] 21:37:29:746 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.Quic.dll [External] 21:37:29:746 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.IO.Compression.Brotli.dll [External] 21:37:29:809 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Threading.Channels.dll [External] 21:37:29:809 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.NetworkInformation.dll [External] 21:37:29:809 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Reflection.Emit.dll [External] 21:37:29:912 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Linq.Expressions.dll [External] 21:37:29:912 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.ComponentModel.EventBasedAsync.dll [External] 21:37:29:912 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Console.dll [External] 21:37:29:912 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Data.Common.dll [External] 21:37:29:912 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Xml.ReaderWriter.dll [External] 21:37:29:912 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Xml.XmlSerializer.dll [External] 21:37:29:912 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Transactions.Local.dll [External] 21:37:29:968 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Diagnostics.Contracts.dll [External] 21:37:29:968 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Diagnostics.TextWriterTraceListener.dll [External] 21:37:29:968 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Diagnostics.StackTrace.dll [External] 21:37:30:031 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.IO.Compression.ZipFile.dll [External] 21:37:30:031 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.IO.FileSystem.DriveInfo.dll [External] 21:37:30:031 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.IO.FileSystem.Watcher.dll [External] 21:37:30:031 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.IO.IsolatedStorage.dll [External] 21:37:30:094 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Linq.Queryable.dll [External] 21:37:30:094 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Linq.Parallel.dll [External] 21:37:30:094 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.Requests.dll [External] 21:37:30:094 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.WebHeaderCollection.dll [External] 21:37:30:158 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.ServicePoint.dll [External] 21:37:30:158 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.HttpListener.dll [External] 21:37:30:158 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.WebSockets.dll [External] 21:37:30:158 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Security.Principal.Windows.dll [External] 21:37:30:221 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.WebClient.dll [External] 21:37:30:221 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Web.HttpUtility.dll [External] 21:37:30:221 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.WebProxy.dll [External] 21:37:30:221 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.Mail.dll [External] 21:37:30:285 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.Ping.dll [External] 21:37:30:285 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Net.WebSockets.Client.dll [External] 21:37:30:285 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Reflection.DispatchProxy.dll [External] 21:37:30:285 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Runtime.CompilerServices.VisualC.dll [External] 21:37:30:348 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Runtime.Serialization.Primitives.dll [External] 21:37:30:349 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Runtime.Serialization.Xml.dll [External] 21:37:30:349 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Private.DataContractSerialization.dll [External] 21:37:30:349 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Runtime.Serialization.Json.dll [External] 21:37:30:456 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Threading.Overlapped.dll [External] 21:37:30:456 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Threading.Tasks.Parallel.dll [External] 21:37:30:456 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Xml.XPath.XDocument.dll [External] 21:37:30:456 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Xml.XPath.dll [External] 21:37:30:456 Thread started: #2 21:37:30:507 Thread started: .NET Timer #3 21:37:30:631 2023-12-13 21:37:42.982 Xamarin.PreBuilt.iOS[658:119375] Content folder: /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content 21:37:30:631 21:37:30:640 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/SourceNode.dll 21:37:30:693 2023-12-13 21:37:43.062 Xamarin.PreBuilt.iOS[658:119375] AppDelegate name: AppDelegate 21:37:30:693 21:37:30:696 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Maui.Controls.dll [External] 21:37:30:696 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Maui.dll [External] 21:37:30:729 2023-12-13 21:37:42.983 Xamarin.PreBuilt.iOS[658:119375] App path /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/SourceNode.dll 21:37:30:729 21:37:30:760 Thread started: #4 21:37:30:760 Thread started: .NET TP Gate #5 21:37:30:760 Thread started: #6 21:37:30:760 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Cryptography.X509Certificates.dll [External] 21:37:30:823 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Globalization.Extensions.dll [External] 21:37:30:823 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Text.Json.dll [External] 21:37:30:823 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.dll [External] 21:37:30:861 2023-12-13 21:37:43.231 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.IO.FileSystem.DriveInfo.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.DriveInfo.resources.dll' or one of its dependencies. 21:37:30:861 21:37:30:906 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.SecureString.dll [External] 21:37:30:906 Thread started: #7 21:37:30:906 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Cryptography.Cng.dll [External] 21:37:30:919 2023-12-13 21:37:43.228 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.IO.FileSystem.DriveInfo.resources, Version=8.0.0.0, Culture=en-GB, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.DriveInfo.resources.dll' or one of its dependencies. 21:37:30:919 21:37:30:989 2023-12-13 21:37:43.321 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.Threading.Channels.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Threading.Channels.resources.dll' or one of its dependencies. 21:37:30:989 21:37:30:989 2023-12-13 21:37:43.320 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.Threading.Channels.resources, Version=8.0.0.0, Culture=en-GB, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Threading.Channels.resources.dll' or one of its dependencies. 21:37:30:989 21:37:30:989 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Principal.dll [External] 21:37:30:989 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Reflection.dll [External] 21:37:30:989 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Threading.Timer.dll [External] 21:37:30:989 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.dll [External] 21:37:31:046 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Maui.Graphics.dll [External] 21:37:31:046 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.ComponentModel.DataAnnotations.dll [External] 21:37:31:119 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Threading.Tasks.Dataflow.dll [External] 21:37:31:119 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Reflection.TypeExtensions.dll [External] 21:37:31:119 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Xml.XmlDocument.dll [External] 21:37:31:119 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.ServiceProcess.dll [External] 21:37:31:181 2023-12-13 21:37:43.551 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.Threading.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Threading.resources.dll' or one of its dependencies. 21:37:31:181 21:37:31:187 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Cryptography.Encoding.dll [External] 21:37:31:187 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Runtime.Handles.dll [External] 21:37:31:187 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.CSharp.dll [External] 21:37:31:235 2023-12-13 21:37:43.549 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.Threading.resources, Version=8.0.0.0, Culture=en-GB, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Threading.resources.dll' or one of its dependencies. 21:37:31:235 21:37:31:250 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Data.dll [External] 21:37:31:251 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Maui.Controls.Compatibility.dll [External] 21:37:31:313 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Formats.Tar.dll [External] 21:37:31:313 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.dll [External] 21:37:31:375 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.ValueTuple.dll [External] 21:37:31:376 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.AppContext.dll [External] 21:37:31:376 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Xml.Serialization.dll [External] 21:37:31:376 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Configuration.dll [External] 21:37:31:439 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Diagnostics.Debug.dll [External] 21:37:31:439 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Maui.Controls.Xaml.dll [External] 21:37:31:439 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Diagnostics.Tools.dll [External] 21:37:31:561 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Reflection.Extensions.dll [External] 21:37:31:561 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Cryptography.Algorithms.dll [External] 21:37:31:561 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Xml.dll [External] 21:37:31:561 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.VisualBasic.Core.dll [External] 21:37:31:561 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Windows.dll [External] 21:37:31:561 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Numerics.dll [External] 21:37:31:561 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Core.dll [External] 21:37:31:630 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Globalization.Calendars.dll [External] 21:37:31:630 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.ServiceModel.Web.dll [External] 21:37:31:693 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/mscorlib.dll [External] 21:37:31:693 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Dynamic.Runtime.dll [External] 21:37:31:693 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Runtime.Serialization.dll [External] 21:37:31:756 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Extensions.DependencyInjection.Abstractions.dll [External] 21:37:31:756 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Extensions.Logging.Abstractions.dll [External] 21:37:31:803 2023-12-13 21:37:44.113 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.IO.IsolatedStorage.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.IsolatedStorage.resources.dll' or one of its dependencies. 21:37:31:803 21:37:31:803 2023-12-13 21:37:44.110 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.IO.IsolatedStorage.resources, Version=8.0.0.0, Culture=en-GB, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.IsolatedStorage.resources.dll' or one of its dependencies. 21:37:31:803 21:37:31:820 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.AccessControl.dll [External] 21:37:31:820 Loaded assembly: /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/System.Security.AccessControl.dll [External] 21:37:31:820 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.AccessControl.dll. Type:System.Security.AccessControl.DirectorySecurity. Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.'. Callstack: ' at System.Security.AccessControl.ObjectSecurity..ctor() 21:37:31:820 at System.Security.AccessControl.CommonObjectSecurity..ctor(Boolean isContainer) 21:37:31:820 at System.Security.AccessControl.NativeObjectSecurity..ctor(Boolean isContainer, ResourceType resourceType) 21:37:31:820 at System.Security.AccessControl.FileSystemSecurity..ctor() 21:37:31:820 at System.Security.AccessControl.DirectorySecurity..ctor() 21:37:31:820 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:31:820 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:31:820 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.AccessControl.dll. Type:System.Security.AccessControl.FileSecurity. Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.'. Callstack: ' at System.Security.AccessControl.ObjectSecurity..ctor() 21:37:31:820 at System.Security.AccessControl.CommonObjectSecurity..ctor(Boolean isContainer) 21:37:31:820 at System.Security.AccessControl.NativeObjectSecurity..ctor(Boolean isContainer, ResourceType resourceType) 21:37:31:820 at System.Security.AccessControl.FileSystemSecurity..ctor() 21:37:31:820 at System.Security.AccessControl.FileSecurity..ctor() 21:37:31:820 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:31:820 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:31:853 2023-12-13 21:37:44.161 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.Security.AccessControl.resources, Version=8.0.0.0, Culture=en-GB, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.AccessControl.resources.dll' or one of its dependencies. 21:37:31:853 21:37:31:853 2023-12-13 21:37:44.164 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.Security.AccessControl.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.AccessControl.resources.dll' or one of its dependencies. 21:37:31:853 21:37:31:883 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Buffers.dll [External] 21:37:31:883 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.AccessControl.dll. Type:System.Security.Policy.Evidence. Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.'. Callstack: ' at System.Security.Policy.Evidence..ctor() 21:37:31:883 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:31:883 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:31:883 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.AccessControl.dll. Type:System.Security.AccessControl.AuthorizationRuleCollection. Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.'. Callstack: ' at System.Security.AccessControl.AuthorizationRuleCollection..ctor() 21:37:31:883 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:31:883 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:31:883 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.AccessControl.dll. Type:System.Security.AccessControl.PrivilegeNotHeldException. Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.'. Callstack: ' at System.Security.AccessControl.PrivilegeNotHeldException..ctor() 21:37:31:883 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:31:883 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:31:883 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Extensions.Logging.dll [External] 21:37:31:908 2023-12-13 21:37:44.279 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.IO.FileSystem.Watcher.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.Watcher.resources.dll' or one of its dependencies. 21:37:31:908 21:37:31:963 2023-12-13 21:37:44.277 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.IO.FileSystem.Watcher.resources, Version=8.0.0.0, Culture=en-GB, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.Watcher.resources.dll' or one of its dependencies. 21:37:31:963 21:37:31:963 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Extensions.Options.dll [External] 21:37:31:963 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.Watcher.dll. Type:System.IO.FileSystemWatcher. Exception: 'System.IO.FileSystem.Watcher is not supported on this platform.'. Callstack: ' at System.IO.FileSystemWatcher..ctor() 21:37:31:963 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:31:963 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:31:963 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.Watcher.dll. Type:System.IO.InternalBufferOverflowException. Exception: 'System.IO.FileSystem.Watcher is not supported on this platform.'. Callstack: ' at System.IO.InternalBufferOverflowException..ctor() 21:37:31:963 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:31:963 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:31:963 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Text.Encoding.dll [External] 21:37:31:963 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Cryptography.Csp.dll [External] 21:37:32:026 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Runtime.CompilerServices.Unsafe.dll [External] 21:37:32:026 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Extensions.Configuration.dll [External] 21:37:32:118 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Extensions.Configuration.Abstractions.dll [External] 21:37:32:118 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Extensions.Primitives.dll [External] 21:37:32:118 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Runtime.Extensions.dll [External] 21:37:32:118 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Principal.Windows.dll. Type:Microsoft.Win32.SafeHandles.SafeAccessTokenHandle. Exception: 'Windows Principal functionality is not supported on this platform.'. Callstack: ' at Microsoft.Win32.SafeHandles.SafeAccessTokenHandle..ctor() 21:37:32:118 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:32:118 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:32:118 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Principal.Windows.dll. Type:System.Security.Principal.IdentityNotMappedException. Exception: 'Windows Principal functionality is not supported on this platform.'. Callstack: ' at System.Security.Principal.IdentityNotMappedException..ctor() 21:37:32:118 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:32:118 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:32:118 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Principal.Windows.dll. Type:System.Security.Principal.IdentityReferenceCollection. Exception: 'Windows Principal functionality is not supported on this platform.'. Callstack: ' at System.Security.Principal.IdentityReferenceCollection..ctor() 21:37:32:118 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:32:118 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:32:118 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Net.dll [External] 21:37:32:137 2023-12-13 21:37:44.452 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.Security.Principal.Windows.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Principal.Windows.resources.dll' or one of its dependencies. 21:37:32:137 21:37:32:138 2023-12-13 21:37:44.450 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.Security.Principal.Windows.resources, Version=8.0.0.0, Culture=en-GB, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Principal.Windows.resources.dll' or one of its dependencies. 21:37:32:138 21:37:32:170 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.Pipes.AccessControl.dll [External] 21:37:32:170 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.Pipes.AccessControl.dll. Type:System.IO.Pipes.PipeSecurity. Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.'. Callstack: ' at System.Security.AccessControl.ObjectSecurity..ctor() 21:37:32:170 at System.Security.AccessControl.CommonObjectSecurity..ctor(Boolean isContainer) 21:37:32:170 at System.Security.AccessControl.NativeObjectSecurity..ctor(Boolean isContainer, ResourceType resourceType) 21:37:32:170 at System.IO.Pipes.PipeSecurity..ctor() 21:37:32:170 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:32:170 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:32:233 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Threading.Tasks.Extensions.dll [External] 21:37:32:233 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Text.Encodings.Web.dll [External] 21:37:32:233 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.UnmanagedMemoryStream.dll [External] 21:37:32:298 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Web.dll [External] 21:37:32:298 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Xml.Linq.dll [External] 21:37:32:298 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.ComponentModel.Annotations.dll [External] 21:37:32:300 2023-12-13 21:37:44.669 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.ComponentModel.Annotations.resources, Version=8.0.0.0, Culture=en-GB, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.ComponentModel.Annotations.resources.dll' or one of its dependencies. 21:37:32:300 21:37:32:362 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Threading.Tasks.dll [External] 21:37:32:362 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Resources.ResourceManager.dll [External] 21:37:32:362 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Win32.Registry.dll [External] 21:37:32:362 2023-12-13 21:37:44.673 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.ComponentModel.Annotations.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.ComponentModel.Annotations.resources.dll' or one of its dependencies. 21:37:32:362 21:37:32:377 2023-12-13 21:37:44.736 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly Microsoft.Win32.Registry.resources, Version=8.0.0.0, Culture=en-GB, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Win32.Registry.resources.dll' or one of its dependencies. 21:37:32:377 21:37:32:424 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Win32.Registry.dll. Type:Microsoft.Win32.SafeHandles.SafeRegistryHandle. Exception: 'Registry is not supported on this platform.'. Callstack: ' at Microsoft.Win32.SafeHandles.SafeRegistryHandle..ctor() 21:37:32:424 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:32:424 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:32:424 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Win32.Registry.dll. Type:System.Security.AccessControl.RegistrySecurity. Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.'. Callstack: ' at System.Security.AccessControl.ObjectSecurity..ctor() 21:37:32:424 at System.Security.AccessControl.CommonObjectSecurity..ctor(Boolean isContainer) 21:37:32:424 at System.Security.AccessControl.NativeObjectSecurity..ctor(Boolean isContainer, ResourceType resourceType) 21:37:32:424 at System.Security.AccessControl.RegistrySecurity..ctor() 21:37:32:424 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:32:424 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:32:424 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Transactions.dll [External] 21:37:32:424 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Runtime.InteropServices.RuntimeInformation.dll [External] 21:37:32:440 2023-12-13 21:37:44.740 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly Microsoft.Win32.Registry.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Win32.Registry.resources.dll' or one of its dependencies. 21:37:32:440 21:37:32:488 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/WindowsBase.dll [External] 21:37:32:488 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.Compression.FileSystem.dll [External] 21:37:32:488 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Extensions.Logging.Debug.dll [External] 21:37:32:551 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Data.DataSetExtensions.dll [External] 21:37:32:650 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Cryptography.Primitives.dll [External] 21:37:32:650 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Maui.Essentials.dll [External] 21:37:32:650 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.IO.FileSystem.Primitives.dll [External] 21:37:32:650 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Globalization.dll [External] 21:37:32:697 2023-12-13 21:37:45.066 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.Runtime.InteropServices.JavaScript.resources, Version=8.0.0.0, Culture=en-GB, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Runtime.InteropServices.JavaScript.resources.dll' or one of its dependencies. 21:37:32:697 21:37:32:699 2023-12-13 21:37:45.070 Xamarin.PreBuilt.iOS[658:119375] Could not resolve assembly System.Runtime.InteropServices.JavaScript.resources, Version=8.0.0.0, Culture=en, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Runtime.InteropServices.JavaScript.resources.dll' or one of its dependencies. 21:37:32:699 21:37:32:712 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Net.Http.Json.dll [External] 21:37:32:712 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Security.Cryptography.OpenSsl.dll [External] 21:37:32:712 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Runtime.InteropServices.JavaScript.dll [External] 21:37:32:712 [0:] Failed to force load assembly /var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Runtime.InteropServices.JavaScript.dll. Type:System.Runtime.InteropServices.JavaScript.JSExportAttribute. Exception: 'System.Runtime.InteropServices.JavaScript is not supported on this platform.'. Callstack: ' at System.Runtime.InteropServices.JavaScript.JSExportAttribute..ctor() 21:37:32:712 at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args) 21:37:32:712 at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)' 21:37:32:774 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.Extensions.DependencyInjection.dll [External] 21:37:32:774 Thread started: .NET Sockets #8 21:37:32:849 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Text.Encoding.CodePages.dll [External] 21:37:32:849 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/Microsoft.VisualBasic.dll [External] 21:37:32:849 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.dll [External] 21:37:32:902 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Drawing.dll [External] 21:37:32:902 Loaded assembly: /private/var/mobile/Containers/Data/Application/2F0EF5B2-41F6-4A0F-9BC2-55F2D7876543/Documents/SourceNode.content/System.Resources.Reader.dll [External] 21:37:32:996 2023-12-13 21:37:45.301 Xamarin.PreBuilt.iOS[658:119375] You've implemented -[ application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist. 21:37:32:996 21:37:40:477 r/lib/system/libxpc.dylib : 21:37:40:477 0x1aa897f2c - /usr/lib/system/libdispatch.dylib : 21:37:40:477 0x1aa8b5e38 - /usr/lib/system/libdispatch.dylib : 21:37:40:477 0x1aa8aa69c - /usr/lib/system/libdispatch.dylib : 21:37:40:477 0x203201e14 - /usr/lib/system/libsystem_pthread.dylib : _pthread_wqthread 21:37:40:477 0x203201b7c - /usr/lib/system/libsystem_pthread.dylib : start_wqthread 21:37:40:477 21:37:40:477 ================================================================= 21:37:40:477 Basic Fault Address Reporting 21:37:40:477 ================================================================= 21:37:40:477 Memory around native instruction pointer (0x1e23953c4):0x1e23953b4 ff 0f 5f d6 c0 03 5f d6 30 41 80 d2 01 10 00 d4 .._..._.0A...... 21:37:40:477 0x1e23953c4 03 01 00 54 7f 23 03 d5 fd 7b bf a9 fd 03 00 91 ...T.#...{...... 21:37:40:477 0x1e23953d4 74 cd ff 97 bf 03 00 91 fd 7b c1 a8 ff 0f 5f d6 t........{...._. 21:37:40:477 0x1e23953e4 c0 03 5f d6 90 32 80 d2 01 10 00 d4 03 01 00 54 .._..2.........T 21:37:40:477 21:37:40:538 0x1004345cc - /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/Xamarin.PreBuilt.iOS : AppleCryptoNative_X509ImportCollection 21:37:40:538 0x100488174 - /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/Xamarin.PreBuilt.iOS : AppleCryptoNative_X509ImportCollection 21:37:40:538 0x100448ed0 - /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/Xamarin.PreBuilt.iOS : AppleCryptoNative_X509ImportCollection 21:37:40:538 0x20316c214 - /usr/lib/system/libsystem_platform.dylib : 21:37:40:538 0x1e23b7c04 - /usr/lib/system/libsystem_kernel.dylib : 21:37:40:538 0x1e23b7c38 - /usr/lib/system/libsystem_kernel.dylib : 21:37:40:538 0x1c07f29b4 - /System/Library/PrivateFrameworks/TCC.framework/TCC : 21:37:40:538 0x1c07f8c58 - /System/Library/PrivateFrameworks/TCC.framework/TCC : 21:37:40:538 0x1c07f01bc - /System/Library/PrivateFrameworks/TCC.framework/TCC : 21:37:40:538 0x203261ee4 - /usr/lib/system/libxpc.dylib : 21:37:40:538 0x203254ee8 - /us 21:37:40:771 Native stacktrace: 21:37:40:771 ================================================================= 21:37:40:771 21:37:40:771 21:37:40:771 ================================================================= 21:37:40:771 Native Crash Reporting 21:37:40:771 ================================================================= 21:37:40:771 Got a SIGABRT while executing native code. This usually indicates 21:37:40:771 a fatal error in the mono runtime or one of the native libraries 21:37:40:771 used by your application. 21:37:40:771 ================================================================= 21:37:40:771 21:37:40:771 ================================================================= 21:37:40:771 21:37:40:771 0x1004496e0 - /private/var/containers/Bundle/Application/181D91DE-5718-47D3-9328-A843948E11CB/SourceNode.app/Xamarin.PreBuilt.iOS : AppleCryptoNative_X509ImportCollection 21:37:40:771 21:37:40:771 The app has been terminated. ```

I can't see any differences in the code interacting with the AVAudioEngine and the nodes, so I would expect it to work the same way as the Swift version.

Environment

Version information ``` Microsoft Visual Studio Professional 2022 Version 17.8.3 VisualStudio.17.Release.LTSC.17.8/17.8.3+34330.188 Microsoft .NET Framework Version 4.8.09032 Installed Version: Professional ASP.NET and Web Tools 17.8.358.6298 ASP.NET and Web Tools Azure App Service Tools v3.0.0 17.8.358.6298 Azure App Service Tools v3.0.0 C# Tools 4.8.0-7.23572.1+7b75981cf3bd520b86ec4ed00ec156c8bc48e4eb C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used. Extensibility Message Bus 1.4.39 (main@e8108eb) 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.8.17 (957fbed) Support for debugging Mono processes with Visual Studio. NuGet Package Manager 6.8.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/ Razor (ASP.NET Core) 17.8.3.2358002+8c7fb27bf8e8d4f9ff8080b624b35bca5e812e97 Provides languages services for ASP.NET Core Razor. TypeScript Tools 17.0.20920.2001 TypeScript Tools for Microsoft Visual Studio Visual Basic Tools 4.8.0-7.23572.1+7b75981cf3bd520b86ec4ed00ec156c8bc48e4eb Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used. Visual F# Tools 17.8.0-beta.23475.2+10f956e631a1efc0f7f5e49c626c494cd32b1f50 Microsoft Visual F# Tools Visual Studio IntelliCode 2.2 AI-assisted development for Visual Studio. VisualStudio.DeviceLog 1.0 Information about my package VisualStudio.Mac 1.0 Mac Extension for Visual Studio VSPackage Extension 1.0 VSPackage Visual Studio Extension Detailed Info Xamarin 17.8.0.156 (d17-8@bd02f18) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android. Xamarin Designer 17.8.3.6 (remotes/origin/d17-8@eccf46a291) Visual Studio extension to enable Xamarin Designer tools in Visual Studio. Xamarin.Android SDK 13.2.2.0 (d17-5/45b0e14) Xamarin.Android Reference Assemblies and MSBuild support. Mono: d9a6e87 Java.Interop: xamarin/java.interop/d17-5@149d70fe SQLite: xamarin/sqlite/3.40.1@68c69d8 Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-5@ca1552d ```

Build Logs

Buildlogs.zip

Example Project (If Possible)

Working Swift project: SourceNode-swift.zip

Crashing MAUI project: SourceNode-maui.zip

rolfbjarne commented 9 months ago

0x1c07f29b4 - /System/Library/PrivateFrameworks/TCC.framework/TCC :

TCC = Transparency, Consent and Control - when this shows up in the stack trace, it's usually because you're missing an entry in the Info.plist file with a usage description for a certain feature.

In this particular case, you need to set the NSMicrophoneUsageDescription key:

diff --git a/SourceNode/Platforms/iOS/Info.plist b/SourceNode/Platforms/iOS/Info.plist
index 358337b..e9910e3 100644
--- a/SourceNode/Platforms/iOS/Info.plist
+++ b/SourceNode/Platforms/iOS/Info.plist
@@ -28,5 +28,7 @@
        </array>
        <key>XSAppIconAssets</key>
        <string>Assets.xcassets/appicon.appiconset</string>
+       <key>NSMicrophoneUsageDescription</key>
+       <string>Test</string>
 </dict>
 </plist>

With that change, your MAUI sample doesn't crash anymore for me.

MortenGregersen commented 9 months ago

Weird... It works for me as well with the usage description. But we also found the crash in an app with the usage description already added. I need to investigate some more.