Debugging on my iPad Air is not working in Visual Studio Community 2026 after updating to version 18.1.0

Kim Strasser 1,711 Reputation points
2025-12-10T15:04:03.1466667+00:00

Debugging on my iPad Air is not working after updating to Visual Studio Community 2026 version 18.1.0. In addition, I have tried to open my application manually on my iPad Air but it always crashes 1 second after launch.

Debug Address: 127.0.0.1
Debug Port: 54090 Debug Assets Directory: C:\Users\Kim Strasser\source\repos\ProjectTestVSInsiders\Project\ProjectiOS\bin\Debug\net10.0-ios\ios-arm64\
New vsdbg debugger process created for project 'C:\Users\Kim Strasser\source\repos\ProjectTestVSInsiders\Project\ProjectiOS\ProjectiOS.csproj'...
Starting vsdbg debug session for project 'C:\Users\Kim Strasser\source\repos\ProjectTestVSInsiders\Project\ProjectiOS\ProjectiOS.csproj'... Launching 'ProjectiOS' on 'iPad von Kim'... INFO: [iOS Debugger] Connecting to "iPad von Kim" over USB on port 10000... INFO: Starting debugger connection to the app 'ProjectiOS'. Debugger port: 54090, Device port: 10000 INFO: Creating command connection... INFO: Connecting to debug stream from device... INFO: Connecting to remote debugger on port 54090... INFO: Connecting to debug console stream... INFO: [iOS Debugger] Connecting to "iPad von Kim" over USB on port 10000... INFO: [iOS Debugger] Connecting to "iPad von Kim" over USB on port 10000... INFO: [iOS Debugger] Connected to "iPad von Kim" over USB on port 10000. INFO: Debugger connection signal received INFO: [iOS Debugger] Connected to "iPad von Kim" over USB on port 10000. INFO: [iOS Debugger] Connected to "iPad von Kim" over USB on port 10000. INFO: Debugger connection completed INFO: [iOS HotReload] Connecting to "iPad von Kim" over USB on port 11000... INFO: Connecting to debug stream from remote debugger... INFO: 	0x1ec6fc810 - /usr/lib/system/libsystem_pthread.dylib : pthread_kill 0x19bf8ff64 - /usr/lib/system/libsystem_c.dylib : abort 0x100366f78 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mono_log_write_os_log 0x10035c200 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : monoeg_g_logv INFO: 	0x1003b8cc8 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mono_assembly_request_open 0x1003b9cb4 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mono_assembly_open 0x1002c7818 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : xamarin_assembly_preload_hook 0x1003bac74 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : invoke_assembly_preload_hook INFO: 	0x1003bae3c - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mono_assembly_load_corlib 0x1003b6098 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mono_init INFO: 0x239da80dc  04 ee ff 97 bf 03 00 91 fd 7b c1 a8 ff 0f 5f d6  .........{... INFO: .. 0x239da80ec  c0 03 5f d6 10 27 80 d2 01 10 00 d4 Terminating vsdbg debug process for project 'C:\Users\Kim Strasser\source\repos\ProjectTestVSInsiders\Project\ProjectiOS\ProjectiOS.csproj'... INFO: 03 01 00 54  ....'.........T The program 'Project' has exited with code 0 (0x0). INFO: )...... 0x239da80cc  03 01 00 54 7f 23 03 d5 fd 7b bf a9 fd 03 00 91  .. INFO: 	0x10035c348 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : monoeg_g_log 0x10048ac04 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : load_aot_module 0x1003b91a0 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mono_assembly_request_load_from INFO: 
================================================================= Native Crash Reporting
Got a SIGABRT 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:
INFO: 	0x1002c8014 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : xamarin_main INFO: 	0x1004eed40 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : main 0x18d722e28 - /usr/lib/dyld : <redacted>
Basic Fault Address Reporting
Memory around native instruction pointer (0x239da80cc):0x239da80bc  ff 0f 5f d6 c0 03 5f d6 10 29 80 d2 01 10 00 d4  .......
INFO: 	0x1004b3108 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mono_dump_native_crash_info
INFO: Closing debug connection from device (USB)
INFO: 	0x10049bb7c - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mono_handle_native_crash
INFO: 	0x100612a64 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : sigabrt_signal_handler.cold.1
INFO: 	0x10047aae4 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mini_init
	0x100486c70 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mono_jit_init
	0x1002c1a80 - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : xamarin_bridge_initialize
INFO: .T.#...{......
INFO: 	0x1004b293c - /private/var/containers/Bundle/Application/6DCE9561-7C69-4C81-916E-06D52CF05749/ProjectiOS.app/ProjectiOS : mono_runtime_setup_stat_profiler
	0x2a57ff158 - /usr/lib/system/libsystem_platform.dylib : <redacted>
INFO: Disposing input and output streams...
The app has been terminated.
The vsdbg debug session for project 'C:\Users\Kim Strasser\source\repos\ProjectTestVSInsiders\Project\ProjectiOS\ProjectiOS.csproj' has been stopped
INFO: Closing debug connection from remote debugger (TCP)
INFO: The debug stream is no longer available for writing
INFO: Disposing input and output streams...
INFO: The debug streams are no longer available for reading or writing

My csproj:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net10.0-ios</TargetFramework>
    <OutputType>Exe</OutputType>
    <SupportedOSPlatformVersion>15.0</SupportedOSPlatformVersion>
    <ApplicationVersion>2.1</ApplicationVersion>
    <ApplicationDisplayVersion>2.1</ApplicationDisplayVersion>
    <ProvisioningType>manual</ProvisioningType>
    <CodesignKey>iPhone Developer: Kim Strasser (...)</CodesignKey>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <MtouchLink>None</MtouchLink> <!--Disables linking/trimming for all assemblies, as recommended by the error message.-->
    <EnableAssemblyILStripping>False</EnableAssemblyILStripping>
    <CodesignKey>iPhone Developer: Kim Strasser (...)</CodesignKey>
    <CodesignProvision>Project Profile Development</CodesignProvision>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
    <UseInterpreter>true</UseInterpreter>
    <MtouchExtraArgs>--optimize:-static-block-to-delegate-lookup</MtouchExtraArgs>
    <NoSymbolStrip>true</NoSymbolStrip>
    <MtouchLink>None</MtouchLink>
    <DebugType>portable</DebugType>
    <MtouchDebug>true</MtouchDebug>
    <Optimize>true</Optimize>
    <UseLlvm>false</UseLlvm>
    <MtouchUseLlvm>False</MtouchUseLlvm>
    <CodesignKey>iPhone Distribution: Kim Strasser (...)</CodesignKey>
    <CodesignProvision>Project Profile Distribution</CodesignProvision>
   </PropertyGroup>
   ...

Screenshot 2025-12-10 160247

Screenshot 2025-12-10 154702

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Le (WICLOUD CORPORATION) 6,335 Reputation points Microsoft External Staff Moderator
    2025-12-11T09:09:58.83+00:00

    Hello @Kim Strasser ,

    Starting with Visual Studio 2026, Hot Restart is no longer supported.

    The crash you're seeing (the SIGABRT and mono_assembly_load_corlib errors in your log) happens because the app isn't being compiled correctly for your iPad without proper native iOS build support. The load_aot_module failure indicates the native code wasn't properly prepared for the device.

    You have two options going forward:

    1. Use Pair to Mac – This is the recommended approach for Visual Studio 2026. You'll need access to a Mac to build, deploy, and debug your iOS apps. You can learn more here: Pair to Mac.
    2. Continue using Visual Studio 2022 (version 17.14) – If you don't have access to a Mac, you can keep using Hot Restart in VS 2022 for now.

    If you are already using Pair to Mac and still experiencing this crash, please let me know and we can investigate other potential causes.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.