I have this issue too. Couple of weeks ago the project was working fine. For some reason I need to pause it. Then two weeks later when reopen, it fails when run on a physical iOS device
Already clean the project, rebuild, close VS, and still the problem
The only thing that changes on my pc was the KB5007262 and KB5007292
I'm using VS 2022 Community 17.0.1
.Net is 4.8.04161
Windows 11 22000.348
iOS is 15.0.2 - iPhone
Edit:
Uninstalling those KB and still the same. This is the log
=================================================================
Native Crash Reporting
Got a segv while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Native stacktrace:
0x1025c41e0 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : mono_dump_native_crash_info
0x1025bac5c - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : mono_handle_native_crash
0x1025c7bb8 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : mono_sigsegv_signal_handler_debug
0x1ddcd7d50 - /usr/lib/system/libsystem_platform.dylib : <redacted>
0x185a44170 - /System/Library/Frameworks/Foundation.framework/Foundation : <redacted>
0x102769c34 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : do_icall
0x1027682c4 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : do_icall_wrapper
0x10275f1b8 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : interp_exec_method_full
0x10275d748 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : interp_runtime_invoke
0x1025cae70 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : mono_jit_runtime_invoke
0x102679188 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : mono_runtime_try_invoke
0x1026b3948 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : worker_callback
0x1026b11bc - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : worker_thread
0x1026bc144 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : start_wrapper_internal
0x1026bbfc8 - /private/var/containers/Bundle/Application/_SOME_GUID_/MyApp.iOS.app/Xamarin.PreBuilt.iOS : start_wrapper
0x1ddce4458 - /usr/lib/system/libsystem_pthread.dylib : _pthread_start
0x1ddce2ab0 - /usr/lib/system/libsystem_pthread.dylib : thread_start
Managed Stacktrace:
at <unknown> <0xffffffff>
at ObjCRuntime.Messaging:void_objc_msgSend_IntPtr_UIntPtr <0x00022>
at Foundation.NSMutableData:AppendBytes <0x00054>
at Foundation.NSData:FromStream <0x0010c>
at <LoadImageAsync>d__1:MoveNext <0x00166>
at MoveNextRunner:InvokeMoveNext <0x00012>
at <Module>:invoke_void_object <0x0009e>
at System.Threading.ExecutionContext:RunInternal <0x00134>
at System.Threading.ExecutionContext:Run <0x00016>
at MoveNextRunner:Run <0x00058>
at <Module>:invoke_void <0x00078>
at System.Threading.Tasks.AwaitTaskContinuation:System.Threa
ding.IThreadPoolWorkItem.ExecuteWorkItem <0x00020>
at System.Threading.ThreadPoolWorkQueue:Dispatch <0x0014c>
at System.Func1:invoke_TResult <0x00096> at ObjCRuntime.Runtime:ThreadPoolDispatcher <0x0001e> at System.Func
2:invoke_TResult_T <0x0009e>
at System.Threading._ThreadPoolWaitCallback:PerformWaitCallback <0x00038>
at <Module>:runtime_invoke_direct_bool <0x00036>