Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created August 20, 2024 17:01
Show Gist options
  • Save rolfbjarne/a2566c0cfd5d9337af71da7368353859 to your computer and use it in GitHub Desktop.
Save rolfbjarne/a2566c0cfd5d9337af71da7368353859 to your computer and use it in GitHub Desktop.
>2024-08-20 18:59:29.824 MauiApp1.iOS[507:49538] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2024-08-20 18:59:29.828 MauiApp1.iOS[507:49538] Microsoft.iOS: Processing managed exception for exception marshalling (mode: 2):
(System.InvalidProgramException)
at MauiApp1.iOS.MauiProgram.CreateMauiApp()
at MauiApp1.iOS.AppDelegate.CreateMauiApp()
at Microsoft.Maui.MauiUIApplicationDelegate.WillFinishLaunching(UIApplication application, NSDictionary launchOptions)
at Microsoft.Maui.MauiUIApplicationDelegate.__Registrar_Callbacks__.callback_326_Microsoft_Maui_MauiUIApplicationDelegate_WillFinishLaunching(IntPtr pobj, IntPtr sel, IntPtr p0, IntPtr p1, IntPtr* exception_gchandle)
2024-08-20 18:59:29.831 MauiApp1.iOS[507:49538] *** Terminating app due to uncaught exception 'System.InvalidProgramException', reason: ' (System.InvalidProgramException)
at MauiApp1.iOS.MauiProgram.CreateMauiApp()
at MauiApp1.iOS.AppDelegate.CreateMauiApp()
at Microsoft.Maui.MauiUIApplicationDelegate.WillFinishLaunching(UIApplication application, NSDictionary launchOptions)
at Microsoft.Maui.MauiUIApplicationDelegate.__Registrar_Callbacks__.callback_326_Microsoft_Maui_MauiUIApplicationDelegate_WillFinishLaunching(IntPtr pobj, IntPtr sel, IntPtr p0, IntPtr p1, IntPtr* exception_gchandle)
'
*** First throw call stack:
(0x19bb91288 0x1b48c5744 0x100db6894 0x100f62b08 0x19e29d9c4 0x19e484a78 0x19e46d678 0x19e2cb1b0 0x19e125584 0x19e250098 0x19e36ffe0 0x19e5aec58 0x19e53a1e0 0x19e126370 0x19e1e63c8 0x19e128274 0x19e21254c 0x19e697240 0x19e156654 0x19e199fb4 0x19e2cffb4 0x19e210810 0x1addc5294 0x1addeb090 0x1adda6308 0x1adda7958 0x19b7f8a30 0x19b7fc4e0 0x1adda7c70 0x1adda7040 0x1addab700 0x19bbb3414 0x19bbc41a0 0x19bafd6f8 0x19bb0305c 0x19bb16bc8 0x1b7c86374 0x19e48cb58 0x19e20e098 0x100db41a8 0x100f2d264 0x100f2bac0 0x100f1fea0 0x100f1d9c4 0x100eebf68 0x100e9777c 0x100e9d948 0x100ef157c 0x100dbee64 0x100f62774 0x1010d9da4)
2024-08-20 18:59:29.831 MauiApp1.iOS[507:49538] Microsoft.iOS: Received unhandled ObjectiveC exception: System.InvalidProgramException (System.InvalidProgramException)
at MauiApp1.iOS.MauiProgram.CreateMauiApp()
at MauiApp1.iOS.AppDelegate.CreateMauiApp()
at Microsoft.Maui.MauiUIApplicationDelegate.WillFinishLaunching(UIApplication application, NSDictionary launchOptions)
at Microsoft.Maui.MauiUIApplicationDelegate.__Registrar_Callbacks__.callback_326_Microsoft_Maui_MauiUIApplicationDelegate_WillFinishLaunching(IntPtr pobj, IntPtr sel, IntPtr p0, IntPtr p1, IntPtr* exception_gchandle)
2024-08-20 18:59:29.831 MauiApp1.iOS[507:49538] Received unhandled Objective-C exception that was marshalled from a managed exception: (System.InvalidProgramException)
at MauiApp1.iOS.MauiProgram.CreateMauiApp()
at MauiApp1.iOS.AppDelegate.CreateMauiApp()
at Microsoft.Maui.MauiUIApplicationDelegate.WillFinishLaunching(UIApplication application, NSDictionary launchOptions)
at Microsoft.Maui.MauiUIApplicationDelegate.__Registrar_Callbacks__.callback_326_Microsoft_Maui_MauiUIApplicationDelegate_WillFinishLaunching(IntPtr pobj, IntPtr sel, IntPtr p0, IntPtr p1, IntPtr* exception_gchandle)
=================================================================
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:
=================================================================
0x100f1c474 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100f06c50 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100f8c4fc - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100f1bd88 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x20d4f9c10 - /usr/lib/system/libsystem_platform.dylib : <redacted>
0x20d5073bc - /usr/lib/system/libsystem_pthread.dylib : pthread_kill
0x1a6ca5524 - /usr/lib/system/libsystem_c.dylib : abort
0x100db6c60 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : xamarin_get_block_descriptor
0x19bc12570 - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : <redacted>
0x1b48cbc5c - /usr/lib/libobjc.A.dylib : <redacted>
0x1b49cff18 - /usr/lib/libc++abi.dylib : <redacted>
0x1b49cfeb4 - /usr/lib/libc++abi.dylib : _ZSt9terminatev
0x19b7f8a44 - /usr/lib/system/libdispatch.dylib : <redacted>
0x19b7fc4e0 - /usr/lib/system/libdispatch.dylib : <redacted>
0x1adda7c70 - /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices : <redacted>
0x1adda7040 - /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices : <redacted>
0x1addab700 - /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices : <redacted>
0x19bbb3414 - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : <redacted>
0x19bbc41a0 - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : <redacted>
0x19bafd6f8 - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : <redacted>
0x19bb0305c - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : <redacted>
0x19bb16bc8 - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : CFRunLoopRunSpecific
0x1b7c86374 - /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices : GSEventRunModal
0x19e48cb58 - /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : <redacted>
0x19e20e098 - /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIApplicationMain
0x100db41a8 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : xamarin_UIApplicationMain
0x100f2d264 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100f2bac0 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100f1fea0 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100f1d9c4 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100eebf68 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100e9777c - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100e9d948 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100ef157c - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x100dbee64 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : xamarin_log
0x100f62774 - /private/var/containers/Bundle/Application/F88537A4-D907-438C-A463-4281C5319FBD/MauiApp1.iOS.app/MauiApp1.iOS : SystemNative_Log
0x1010d9da4 - Unknown
=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x1d3792b38):0x1d3792b28 ff 0f 5f d6 c0 03 5f d6 10 29 80 d2 01 10 00 d4 .._..._..)......
0x1d3792b38 03 01 00 54 7f 23 03 d5 fd 7b bf a9 fd 03 00 91 ...T.#...{......
0x1d3792b48 a6 ed ff 97 bf 03 00 91 fd 7b c1 a8 ff 0f 5f d6 .........{...._.
0x1d3792b58 c0 03 5f d6 7f 23 03 d5 fd 7b bf a9 fd 03 00 91 .._..#...{......
=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at UIKit.UIApplication:xamarin_UIApplicationMain <0x00072>
at UIKit.UIApplication:UIApplicationMain <0x00044>
at UIKit.UIApplication:Main <0x000fc>
at MauiApp1.iOS.Program:Main <0x00018>
at <Module>:runtime_invoke_direct_void_string[] <0x0004a>
at <unknown> <0x00000>
=================================================================
Xamarin.Hosting: Process '507' exited with exit code or crashing signal 6.
Application 'com.companyname.mauiapp1' terminated (with exit code '' and/or crashing signal '6).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment