to run on a MacBook, you need to build a Mac Catalyst app.
framework: net8.0-maccatalyst
https://learn.microsoft.com/en-us/dotnet/maui/mac-catalyst/deployment/?view=net-maui-8.0
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm developing a .NET 8 MAUI app targeting both net8.0-android and net8.0-ios. The app runs successfully on Android and iOS simulators and installs/runs fine on an iPhone through TestFlight. However, it crashes immediately upon opening when I run it on a MacBook.
My .csproj file:
<PropertyGroup>
<TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>MobileAppMaui.UI</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- Display name -->
<ApplicationTitle>MobileAppMaui.UI</ApplicationTitle>
<!-- App Identifier -->
<ApplicationId>com.app.maui</ApplicationId>
<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.Contains('-ios'))">
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#212635" />
<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#212635" BaseSize="128,128" />
<!-- Images -->
<MauiImage Include="Resources\Images\*" />
<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" />
<!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*" />
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="AsyncAwaitBestPractices" Version="8.0.0" />
<PackageReference Include="CommunityToolkit.Maui" Version="9.1.0" />
<PackageReference Include="CommunityToolkit.Maui.Markup" Version="4.2.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.2" />
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="Mapster" Version="7.4.0" />
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.22.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.10.0" />
<PackageReference Include="Microsoft.Extensions.Logging.ApplicationInsights" Version="2.22.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.2" />
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.93" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.93" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.1" />
<PackageReference Include="Plugin.Firebase.CloudMessaging" Version="3.0.0" />
<PackageReference Include="Plugin.Firebase.RemoteConfig" Version="3.0.0" />
<PackageReference Include="Refit.HttpClientFactory" Version="8.0.0" />
<PackageReference Include="Serilog" Version="4.1.0" />
<PackageReference Include="Serilog.Exceptions.Refit" Version="8.4.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Serilog.Sinks.ApplicationInsights" Version="4.0.0" />
<PackageReference Include="Serilog.Sinks.Debug" Version="3.0.0" />
<PackageReference Include="Syncfusion.Maui.Calendar" Version="27.1.58" />
<PackageReference Include="Syncfusion.Maui.Core" Version="27.1.58" />
<PackageReference Include="Syncfusion.Maui.DataForm" Version="27.1.58" />
<PackageReference Include="Syncfusion.Maui.Expander" Version="27.1.58" />
<PackageReference Include="Syncfusion.Maui.Inputs" Version="27.1.58" />
<PackageReference Include="Syncfusion.Maui.ListView" Version="27.1.58" />
<PackageReference Include="Syncfusion.Maui.Picker" Version="27.1.58" />
<PackageReference Include="Syncfusion.Maui.ProgressBar" Version="27.1.58" />
<PackageReference Include="Syncfusion.Maui.PullToRefresh" Version="27.1.58" />
<PackageReference Include="Syncfusion.Maui.Scheduler" Version="27.1.58" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
<PackageReference Include="Xamarin.Build.Download" Version="0.11.4" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MobileAppMaui.Application\MobileAppMaui.Application.csproj" />
<ProjectReference Include="..\MobileAppMaui.Domain\MobileAppMaui.Domain.csproj" />
<ProjectReference Include="..\MobileAppMaui.Infrastructure\MobileAppMaui.Infrastructure.csproj" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('-android'))">
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.12.0.2" />
<PackageReference Include="Xamarin.AndroidX.Collection" Version="1.3.0.1" />
<PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="1.3.0.1" />
<PackageReference Include="Xamarin.AndroidX.Activity.Ktx" Version="1.8.0.1" />
<PackageReference Include="Xamarin.AndroidX.Browser" Version="1.6.0.2" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('-ios'))">
<BundleResource Include="Platforms\iOS\GoogleService-Info.plist" Link="GoogleService-Info.plist" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('-android'))">
<GoogleServicesJson Include="Platforms\Android\Resources\google-services.json" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('-ios'))">
<PackageReference Include="AdamE.Firebase.iOS.Installations" Version="10.29.0.1" />
</ItemGroup>
<PropertyGroup Condition="$(TargetFramework.Contains('-ios'))">
<CodesignEntitlements>Platforms/iOS/Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
<_ExportSymbolsExplicitly>false</_ExportSymbolsExplicitly>
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
<UseInterpreter>true</UseInterpreter>
<MtouchDebug>False</MtouchDebug>
</PropertyGroup>
<ProjectExtensions><VisualStudio><UserProperties XamarinHotReloadDebuggerTimeoutExceptionMobileAppMauiUIHideInfoBar="True" /></VisualStudio></ProjectExtensions>
Crashed Thread: 3Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6Terminating Process: MobileAppMaui.UI [1329]Thread 0:0 libsystem_kernel.dylib 0x0000000184d59e34 mach_msg2_trap + 81 libsystem_kernel.dylib 0x0000000184d6c5d0 mach_msg2_internal + 80 (mach_msg.c:201)2 libsystem_kernel.dylib 0x0000000184d629d8 mach_msg_overwrite + 480 (mach_msg.c:0)3 libsystem_kernel.dylib 0x0000000184d5a17c mach_msg + 24 (mach_msg.c:323)4 CoreFoundation 0x0000000184e81edc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637)5 CoreFoundation 0x0000000184e8073c __CFRunLoopRun + 1212 (CFRunLoop.c:3021)6 CoreFoundation 0x0000000184e7fbc4 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434)7 HIToolbox 0x00000001902eff64 RunCurrentEventLoopInMode + 292 (EventLoop.c:455)8 HIToolbox 0x00000001902f5d54 ReceiveNextEventCommon + 636 (EventBlocking.c:384)9 HIToolbox 0x00000001902f5eb8 _BlockUntilNextEventMatchingListInModeWithFilter + 76 (EventBlocking.c:171)10 AppKit 0x00000001889aba08 _DPSNextEvent + 660 (CGDPSReplacement.m:810)11 AppKit 0x00000001892ebe0c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688 (appEventRouting.m:509)12 AppKit 0x000000018899eae0 -[NSApplication run] + 480 (NSApplication.m:3649)13 AppKit 0x0000000188975364 NSApplicationMain + 888 (NSApplication.m:10514)14 AppKit 0x0000000188bc3870 _NSApplicationMainWithInfoDictionary + 24 (NSApplication.m:10412)15 UIKitMacHelper 0x000000019f6b2b38 UINSApplicationMain + 972 (UINSApplication.m:295)16 UIKitCore 0x00000001b677e3a8 UIApplicationMain + 148 (UIApplication.m:5490)17 MobileAppMaui.UI 0x00000001007cfa00 xamarin_UIApplicationMain + 2418 MobileAppMaui.UI 0x0000000100ab2888 do_icall + 31619 MobileAppMaui.UI 0x0000000100ab1188 do_icall_wrapper + 34820 MobileAppMaui.UI 0x0000000100aa5b98 mono_interp_exec_method + 283621 MobileAppMaui.UI 0x0000000100aa3730 interp_runtime_invoke + 23622 MobileAppMaui.UI 0x0000000100a729d0 mono_jit_runtime_invoke + 111623 MobileAppMaui.UI 0x0000000100a1e778 mono_runtime_invoke_checked + 14824 MobileAppMaui.UI 0x0000000100a247bc mono_runtime_exec_main_checked + 11625 MobileAppMaui.UI 0x0000000100a77ea4 mono_jit_exec + 35626 MobileAppMaui.UI 0x00000001007daac8 xamarin_main + 95227 MobileAppMaui.UI 0x0000000100ae00a8 main + 7228 dyld 0x0000000184a18274 start + 2840 (dyldMain.cpp:1334)Thread 1:0 libsystem_pthread.dylib 0x0000000184d960e8 start_wqthread + 0Thread 2:0 libsystem_pthread.dylib 0x0000000184d960e8 start_wqthread + 0Thread 3 Crashed:0 libsystem_kernel.dylib 0x0000000184d62600 __pthread_kill + 81 libsystem_pthread.dylib 0x0000000184d9af70 pthread_kill + 288 (pthread.c:1721)2 libsystem_c.dylib 0x0000000184ca7908 abort + 128 (abort.c:122)3 MobileAppMaui.UI 0x0000000100b37954 sigabrt_signal_handler.cold.1 + 484 MobileAppMaui.UI 0x0000000100aa17d8 sigabrt_signal_handler + 1965 libsystem_platform.dylib 0x0000000184dd0184 _sigtramp + 56 (sigtramp.c:116)6 libsystem_pthread.dylib 0x0000000184d9af70 pthread_kill + 288 (pthread.c:1721)7 libsystem_c.dylib 0x0000000184ca7908 abort + 128 (abort.c:122)8 libsystem_malloc.dylib 0x0000000184bb1524 malloc_vreport + 896 (malloc_printf.c:251)9 libsystem_malloc.dylib 0x0000000184bb50a8 malloc_report + 64 (malloc_printf.c:290)10 libsystem_malloc.dylib 0x0000000184bd31a4 find_zone_and_free + 528 (malloc.c:3054)11 libicucore.A.dylib 0x00000001881fa89c icu::Locale::setToBogus() + 52 (locid.cpp:2026)12 libicucore.A.dylib 0x00000001881fac08 icu::Locale::operator=(icu::Locale const&) + 40 (locid.cpp:420)13 libicucore.A.dylib 0x000000018835f004 icu::number::LocalizedNumberFormatter::LocalizedNumberFormatter(icu::number::impl::MacroProps&&, icu::Locale const&) + 216 (number_fluent.cpp:574)14 libicucore.A.dylib 0x0000000188300da8 icu::DecimalFormat::touch(UErrorCode&) + 240 (decimfmt.cpp:1756)15 libicucore.A.dylib 0x000000018830177c icu::DecimalFormat::DecimalFormat(icu::UnicodeString const&, icu::DecimalFormatSymbols*, UNumberFormatStyle, UErrorCode&) + 424 (decimfmt.cpp:118)16 libicucore.A.dylib 0x000000018837c254 icu::NumberFormat::makeInstance(icu::Locale const&, UNumberFormatStyle, signed char, UErrorCode&) + 1668 (numfmt.cpp:1506)17 libicucore.A.dylib 0x000000018837ba04 icu::LocaleCacheKey<icu::SharedNumberFormat>::createObject(void const*, UErrorCode&) const + 88 (numfmt.cpp:1279)18 libicucore.A.dylib 0x00000001882846f0 icu::UnifiedCache::_get(icu::CacheKeyBase const&, icu::SharedObject const*&, void const*, UErrorCode&) const + 168 (unifiedcache.cpp:394)19 libicucore.A.dylib 0x00000001882cb7e4 void icu::UnifiedCache::get<icu::DateFmtBestPattern>(icu::CacheKey<icu::DateFmtBestPattern> const&, void const*, icu::DateFmtBestPattern const*&, UErrorCode&) const + 68 (unifiedcache.h:234)20 libicucore.A.dylib 0x000000018837bb70 void icu::UnifiedCache::getByLocale<icu::SharedNumberFormat>(icu::Locale const&, icu::SharedNumberFormat const*&, UErrorCode&) + 168 (unifiedcache.h:274)21 libicucore.A.dylib 0x000000018837b46c icu::NumberFormat::createInstance(icu::Locale const&, UNumberFormatStyle, UErrorCode&) + 112 (numfmt.cpp:1060)22 libicucore.A.dylib 0x00000001883ca2c8 icu::SimpleDateFormat::initialize(icu::Locale const&, UErrorCode&) + 572 (smpdtfmt.cpp:1372)23 libicucore.A.dylib 0x00000001883cb1b8 icu::SimpleDateFormat::SimpleDateFormat(icu::Locale const&, UErrorCode&) + 336 (smpdtfmt.cpp:592)24 libicucore.A.dylib 0x00000001882f3a48 icu::DateFormat::create(icu::DateFormat::EStyle, icu::DateFormat::EStyle, icu::Locale const&) + 264 (datefmt.cpp:535)25 libicucore.A.dylib 0x0000000188401e84 udat_open + 396 (udat.cpp:174)26 CoreFoundation 0x0000000184ebc788 __cficu_udat_open + 72 (CFICULogging.c:1835)27 CoreFoundation 0x0000000184ebbb0c __ResetUDateFormat + 512 (CFDateFormatter.c:663)28 CoreFoundation 0x0000000184ebb8e0 __CreateCFDateFormatter + 324 (CFDateFormatter.c:866)29 Foundation 0x0000000186061568 -[NSDateFormatter _regenerateFormatter] + 26430 Foundation 0x000000018606137c -[NSDateFormatter stringForObjectValue:] + 28031 Foundation 0x0000000186251008 specialized __JSONEncoder.wrap<A>(_:for:_:) + 34432 Foundation 0x0000000186246f78 specialized __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 42033 Foundation 0x000000018624f284 _JSONUnkeyedEncodingContainer.encode<A>(_:) + 30434 Foundation 0x000000018624fc88 protocol witness for UnkeyedEncodingContainer.encode<A>(_:) in conformance _JSONUnkeyedEncodingContainer + 1635 libswiftCore.dylib 0x0000000195a6c8c4 Array<A>.encode(to:) + 55636 libswiftCore.dylib 0x0000000195a6ca00 protocol witness for Encodable.encode(to:) in conformance <A> [A] + 3237 libswiftCore.dylib 0x0000000195d81f7c dispatch thunk of Encodable.encode(to:) + 3238 Foundation 0x0000000186255b88 closure #1 in __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 14839 Foundation 0x000000018625a870 partial apply for closure #1 in __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 2840 Foundation 0x00000001862562b0 __JSONEncoder._wrapGeneric<A>(_:for:_:) + 79641 Foundation 0x0000000186247e14 __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 187242 Foundation 0x000000018624c5ec _JSONKeyedEncodingContainer.encode<A>(_:forKey:) + 35243 Foundation 0x000000018624e138 protocol witness for KeyedEncodingContainerProtocol.encode<A>(_:forKey:) in conformance _JSONKeyedEncodingContainer<A> + 3244 libswiftCore.dylib 0x0000000195a54a0c _KeyedEncodingContainerBox.encode<A, B>(_:forKey:) + 37245 libswiftCore.dylib 0x0000000195a46618 KeyedEncodingContainer.encode<A>(_:forKey:) + 6846 FirebaseCoreInternal 0x00000001018b1f70 HeartbeatsPayload.UserAgentPayload.encode(to:) + 29247 FirebaseCoreInternal 0x00000001018b2164 protocol witness for Encodable.encode(to:) in conformance HeartbeatsPayload.UserAgentPayload + 2048 libswiftCore.dylib 0x0000000195d81f7c dispatch thunk of Encodable.encode(to:) + 3249 Foundation 0x0000000186255acc specialized closure #1 in __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 14850 Foundation 0x000000018625a7cc partial apply for specialized closure #1 in __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 2451 Foundation 0x0000000186255d24 specialized __JSONEncoder._wrapGeneric<A>(_:for:_:) + 37252 Foundation 0x0000000186247530 specialized __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 188453 Foundation 0x000000018624f284 _JSONUnkeyedEncodingContainer.encode<A>(_:) + 30454 Foundation 0x000000018624fc88 protocol witness for UnkeyedEncodingContainer.encode<A>(_:) in conformance _JSONUnkeyedEncodingContainer + 1655 libswiftCore.dylib 0x0000000195a6c8c4 Array<A>.encode(to:) + 55656 libswiftCore.dylib 0x0000000195a6ca00 protocol witness for Encodable.encode(to:) in conformance <A> [A] + 3257 libswiftCore.dylib 0x0000000195d81f7c dispatch thunk of Encodable.encode(to:) + 3258 Foundation 0x0000000186255b88 closure #1 in __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 14859 Foundation 0x000000018625a870 partial apply for closure #1 in __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 2860 Foundation 0x00000001862562b0 __JSONEncoder._wrapGeneric<A>(_:for:_:) + 79661 Foundation 0x0000000186247e14 __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 187262 Foundation 0x000000018624c5ec _JSONKeyedEncodingContainer.encode<A>(_:forKey:) + 35263 Foundation 0x000000018624e138 protocol witness for KeyedEncodingContainerProtocol.encode<A>(_:forKey:) in conformance _JSONKeyedEncodingContainer<A> + 3264 libswiftCore.dylib 0x0000000195a54a0c _KeyedEncodingContainerBox.encode<A, B>(_:forKey:) + 37265 libswiftCore.dylib 0x0000000195a46618 KeyedEncodingContainer.encode<A>(_:forKey:) + 6866 FirebaseCoreInternal 0x00000001018b25b4 HeartbeatsPayload.encode(to:) + 23267 FirebaseCoreInternal 0x00000001018b27d0 protocol witness for Encodable.encode(to:) in conformance HeartbeatsPayload + 1268 libswiftCore.dylib 0x0000000195d81f7c dispatch thunk of Encodable.encode(to:) + 3269 Foundation 0x0000000186255acc specialized closure #1 in __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 14870 Foundation 0x000000018625a7cc partial apply for specialized closure #1 in __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 2471 Foundation 0x0000000186255d24 specialized __JSONEncoder._wrapGeneric<A>(_:for:_:) + 37272 Foundation 0x0000000186247530 specialized __JSONEncoder.wrapGeneric<A, B>(_:for:_:) + 188473 Foundation 0x0000000186246848 JSONEncoder.encode<A>(_:) + 34474 Foundation 0x00000001862585d4 dispatch thunk of JSONEncoder.encode<A>(_:) + 5675 FirebaseCoreInternal 0x00000001018b1a34 HeartbeatsPayload.headerValue() + 21676 FirebaseCoreInternal 0x00000001018a86b8 @objc _ObjC_HeartbeatsPayload.headerValue() + 4477 FirebaseCore 0x0000000101510604 FIRHeaderValueFromHeartbeatsPayload + 4478 FirebaseInstallations 0x0000000101a6e584 __96-[FIRInstallationsAPIService requestWithURL:HTTPMethod:bodyDict:refreshToken:additionalHeaders:]_block_invoke + 38079 FBLPromises 0x00000001015df410 __38+[FBLPromise(DoAdditions) onQueue:do:]_block_invoke + 4080 libdispatch.dylib 0x0000000184be68f8 _dispatch_call_block_and_release + 32 (init.c:1549)81 libdispatch.dylib 0x0000000184be8658 _dispatch_client_callout + 20 (object.m:576)82 libdispatch.dylib 0x0000000184bfa570 _dispatch_root_queue_drain + 996 (queue.c:7331)83 libdispatch.dylib 0x0000000184bfab20 _dispatch_worker_thread2 + 156 (queue.c:7399)84 libsystem_pthread.dylib 0x0000000184d9739c _pthread_wqthread + 228 (pthread.c:2709)85 libsystem_pthread.dylib 0x0000000184d960f0 start_wqthread + 8Thread 4:0 libsystem_kernel.dylib 0x0000000184d5d5cc __psynch_cvwait + 81 libsystem_pthread.dylib 0x0000000184d9b894 _pthread_cond_wait + 1204 (pthread_cond.c:862)2 MobileAppMaui.UI 0x00000001009b7dd0 thread_func + 4403 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)4 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 5:0 libsystem_kernel.dylib 0x0000000184d59db0 semaphore_wait_trap + 81 MobileAppMaui.UI 0x0000000100a5320c finalizer_thread + 3282 MobileAppMaui.UI 0x0000000100a30a24 start_wrapper + 3523 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)4 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 6:0 libsystem_pthread.dylib 0x0000000184d960e8 start_wqthread + 0Thread 7:0 libsystem_pthread.dylib 0x0000000184d960e8 start_wqthread + 0Thread 8:0 libsystem_kernel.dylib 0x0000000184d59e34 mach_msg2_trap + 81 libsystem_kernel.dylib 0x0000000184d6c5d0 mach_msg2_internal + 80 (mach_msg.c:201)2 libsystem_kernel.dylib 0x0000000184d629d8 mach_msg_overwrite + 480 (mach_msg.c:0)3 libsystem_kernel.dylib 0x0000000184d5a17c mach_msg + 24 (mach_msg.c:323)4 CoreFoundation 0x0000000184e81edc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637)5 CoreFoundation 0x0000000184e8073c __CFRunLoopRun + 1212 (CFRunLoop.c:3021)6 CoreFoundation 0x0000000184e7fbc4 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434)7 Foundation 0x000000018603e808 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 2128 Foundation 0x00000001860b1d4c -[NSRunLoop(NSRunLoop) runUntilDate:] + 1009 UIKitCore 0x00000001b677f774 -[UIEventFetcher threadMain] + 104 (UIEventFetcher.m:1241)10 Foundation 0x0000000186038734 __NSThread__start__ + 72411 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)12 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 9:0 libsystem_pthread.dylib 0x0000000184d960e8 start_wqthread + 0Thread 10:0 libsystem_kernel.dylib 0x0000000184d5d5cc __psynch_cvwait + 81 libsystem_pthread.dylib 0x0000000184d9b894 _pthread_cond_wait + 1204 (pthread_cond.c:862)2 MobileAppMaui.UI 0x000000010096a5f0 mono_os_cond_timedwait + 1683 MobileAppMaui.UI 0x000000010096e1e4 mono_lifo_semaphore_timed_wait + 2524 MobileAppMaui.UI 0x0000000100ab27fc do_icall + 1765 MobileAppMaui.UI 0x0000000100ab11c0 do_icall_wrapper + 4046 MobileAppMaui.UI 0x0000000100aa5b98 mono_interp_exec_method + 28367 MobileAppMaui.UI 0x0000000100aa3730 interp_runtime_invoke + 2368 MobileAppMaui.UI 0x0000000100a729d0 mono_jit_runtime_invoke + 11169 MobileAppMaui.UI 0x0000000100a1e778 mono_runtime_invoke_checked + 14810 MobileAppMaui.UI 0x0000000100a30b1c start_wrapper + 60011 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)12 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 11:0 libsystem_kernel.dylib 0x0000000184d5d5cc __psynch_cvwait + 81 libsystem_pthread.dylib 0x0000000184d9b8c0 _pthread_cond_wait + 1248 (pthread_cond.c:862)2 MobileAppMaui.UI 0x000000010083d810 SystemNative_LowLevelMonitor_TimedWait + 1043 MobileAppMaui.UI 0x0000000100ab27fc do_icall + 1764 MobileAppMaui.UI 0x0000000100ab1188 do_icall_wrapper + 3485 MobileAppMaui.UI 0x0000000100aa5b98 mono_interp_exec_method + 28366 MobileAppMaui.UI 0x0000000100aa3730 interp_runtime_invoke + 2367 MobileAppMaui.UI 0x0000000100a729d0 mono_jit_runtime_invoke + 11168 MobileAppMaui.UI 0x0000000100a1e778 mono_runtime_invoke_checked + 1489 MobileAppMaui.UI 0x0000000100a30b1c start_wrapper + 60010 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)11 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 12:0 libsystem_kernel.dylib 0x0000000184d5d5cc __psynch_cvwait + 81 libsystem_pthread.dylib 0x0000000184d9b894 _pthread_cond_wait + 1204 (pthread_cond.c:862)2 MobileAppMaui.UI 0x000000010096a5f0 mono_os_cond_timedwait + 1683 MobileAppMaui.UI 0x000000010096e1e4 mono_lifo_semaphore_timed_wait + 2524 MobileAppMaui.UI 0x0000000100ab27fc do_icall + 1765 MobileAppMaui.UI 0x0000000100ab11c0 do_icall_wrapper + 4046 MobileAppMaui.UI 0x0000000100aa5b98 mono_interp_exec_method + 28367 MobileAppMaui.UI 0x0000000100aa3730 interp_runtime_invoke + 2368 MobileAppMaui.UI 0x0000000100a729d0 mono_jit_runtime_invoke + 11169 MobileAppMaui.UI 0x0000000100a1e778 mono_runtime_invoke_checked + 14810 MobileAppMaui.UI 0x0000000100a30b1c start_wrapper + 60011 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)12 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 13:0 libsystem_kernel.dylib 0x0000000184d5d5cc __psynch_cvwait + 81 libsystem_pthread.dylib 0x0000000184d9b8c0 _pthread_cond_wait + 1248 (pthread_cond.c:862)2 MobileAppMaui.UI 0x000000010083d810 SystemNative_LowLevelMonitor_TimedWait + 1043 MobileAppMaui.UI 0x0000000100ab27fc do_icall + 1764 MobileAppMaui.UI 0x0000000100ab1188 do_icall_wrapper + 3485 MobileAppMaui.UI 0x0000000100aa5b98 mono_interp_exec_method + 28366 MobileAppMaui.UI 0x0000000100aa3730 interp_runtime_invoke + 2367 MobileAppMaui.UI 0x0000000100a729d0 mono_jit_runtime_invoke + 11168 MobileAppMaui.UI 0x0000000100a1e778 mono_runtime_invoke_checked + 1489 MobileAppMaui.UI 0x0000000100a30b1c start_wrapper + 60010 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)11 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 14:0 libsystem_kernel.dylib 0x0000000184d5d5cc __psynch_cvwait + 81 libsystem_pthread.dylib 0x0000000184d9b894 _pthread_cond_wait + 1204 (pthread_cond.c:862)2 MobileAppMaui.UI 0x000000010096a618 mono_os_cond_timedwait + 2083 MobileAppMaui.UI 0x0000000100a3480c mono_w32handle_timedwait_signal_handle + 2564 MobileAppMaui.UI 0x0000000100a346b0 mono_w32handle_wait_one + 8685 MobileAppMaui.UI 0x0000000100a54940 ves_icall_System_Threading_Monitor_Monitor_wait + 3846 MobileAppMaui.UI 0x00000001009f3240 ves_icall_System_Threading_Monitor_Monitor_wait_raw + 887 MobileAppMaui.UI 0x0000000100ab2828 do_icall + 2208 MobileAppMaui.UI 0x0000000100ab11c0 do_icall_wrapper + 4049 MobileAppMaui.UI 0x0000000100aa5b98 mono_interp_exec_method + 283610 MobileAppMaui.UI 0x0000000100aa3730 interp_runtime_invoke + 23611 MobileAppMaui.UI 0x0000000100a729d0 mono_jit_runtime_invoke + 111612 MobileAppMaui.UI 0x0000000100a1e778 mono_runtime_invoke_checked + 14813 MobileAppMaui.UI 0x0000000100a30b1c start_wrapper + 60014 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)15 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 15:0 libsystem_kernel.dylib 0x0000000184d5d5cc __psynch_cvwait + 81 libsystem_pthread.dylib 0x0000000184d9b894 _pthread_cond_wait + 1204 (pthread_cond.c:862)2 MobileAppMaui.UI 0x000000010096a5f0 mono_os_cond_timedwait + 1683 MobileAppMaui.UI 0x000000010096e1e4 mono_lifo_semaphore_timed_wait + 2524 MobileAppMaui.UI 0x0000000100ab27fc do_icall + 1765 MobileAppMaui.UI 0x0000000100ab11c0 do_icall_wrapper + 4046 MobileAppMaui.UI 0x0000000100aa5b98 mono_interp_exec_method + 28367 MobileAppMaui.UI 0x0000000100aa3730 interp_runtime_invoke + 2368 MobileAppMaui.UI 0x0000000100a729d0 mono_jit_runtime_invoke + 11169 MobileAppMaui.UI 0x0000000100a1e778 mono_runtime_invoke_checked + 14810 MobileAppMaui.UI 0x0000000100a30b1c start_wrapper + 60011 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)12 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 16:0 libsystem_kernel.dylib 0x0000000184d5d5cc __psynch_cvwait + 81 libsystem_pthread.dylib 0x0000000184d9b894 _pthread_cond_wait + 1204 (pthread_cond.c:862)2 MobileAppMaui.UI 0x000000010096a5f0 mono_os_cond_timedwait + 1683 MobileAppMaui.UI 0x000000010096e1e4 mono_lifo_semaphore_timed_wait + 2524 MobileAppMaui.UI 0x0000000100ab27fc do_icall + 1765 MobileAppMaui.UI 0x0000000100ab11c0 do_icall_wrapper + 4046 MobileAppMaui.UI 0x0000000100aa5b98 mono_interp_exec_method + 28367 MobileAppMaui.UI 0x0000000100aa3730 interp_runtime_invoke + 2368 MobileAppMaui.UI 0x0000000100a729d0 mono_jit_runtime_invoke + 11169 MobileAppMaui.UI 0x0000000100a1e778 mono_runtime_invoke_checked + 14810 MobileAppMaui.UI 0x0000000100a30b1c start_wrapper + 60011 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)12 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 17:0 libsystem_kernel.dylib 0x0000000184d59e34 mach_msg2_trap + 81 libsystem_kernel.dylib 0x0000000184d6c5d0 mach_msg2_internal + 80 (mach_msg.c:201)2 libsystem_kernel.dylib 0x0000000184d629d8 mach_msg_overwrite + 480 (mach_msg.c:0)3 libsystem_kernel.dylib 0x0000000184d5a17c mach_msg + 24 (mach_msg.c:323)4 CoreFoundation 0x0000000184e81edc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637)5 CoreFoundation 0x0000000184e8073c __CFRunLoopRun + 1212 (CFRunLoop.c:3021)6 CoreFoundation 0x0000000184e7fbc4 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434)7 AppKit 0x0000000188ad0b8c _NSEventThread + 148 (NSEvent.m:5696)8 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)9 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 18:0 libsystem_kernel.dylib 0x0000000184d59e34 mach_msg2_trap + 81 libsystem_kernel.dylib 0x0000000184d6c5d0 mach_msg2_internal + 80 (mach_msg.c:201)2 libsystem_kernel.dylib 0x0000000184d629d8 mach_msg_overwrite + 480 (mach_msg.c:0)3 libsystem_kernel.dylib 0x0000000184d5a17c mach_msg + 24 (mach_msg.c:323)4 CoreFoundation 0x0000000184e81edc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637)5 CoreFoundation 0x0000000184e8073c __CFRunLoopRun + 1212 (CFRunLoop.c:3021)6 CoreFoundation 0x0000000184e7fbc4 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434)7 CFNetwork 0x000000018a6e9c14 +[__CFN_CoreSchedulingSetRunnable _run:] + 416 (CoreSchedulingSet.mm:1473)8 Foundation 0x0000000186038734 __NSThread__start__ + 7249 libsystem_pthread.dylib 0x0000000184d9b2e4 _pthread_start + 136 (pthread.c:931)10 libsystem_pthread.dylib 0x0000000184d960fc thread_start + 8Thread 3 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0xffffffff90f84c8b x5: 0x0000000000000008 x6: 0x000000016fbfd460 x7: 0x000000016fbfcb50 x8: 0xa319a3da532e9a49 x9: 0xa319a3db3ceeaa49 x10: 0x00000000000003ff x11: 0x000000016fbfcbc0 x12: 0x0000000000000000 x13: 0x00000001007cf7d4 x14: 0x000000018044a0f4 x15: 0x0000000000000001 x16: 0x0000000000000148 x17: 0x00000001f210d850 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x000000000000790b x21: 0x000000016fc030e0 x22: 0x0000000184be0383 x23: 0x000000016fbfe370 x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x000000016fa63af5 x27: 0x000000016fc03000 x28: 0x000000016fbff60c fp: 0x000000016fbfd470 lr: 0x0000000184d9af70 sp: 0x000000016fbfd450 pc: 0x0000000184d62600 cpsr: 0x40001000 esr: 0x56000080 Address size fault
to run on a MacBook, you need to build a Mac Catalyst app.
framework: net8.0-maccatalyst
https://learn.microsoft.com/en-us/dotnet/maui/mac-catalyst/deployment/?view=net-maui-8.0