iOS Development

iOS Emulator Crash on Signal-In Button Click on in Flutter App

Spread the love


I’m encountering a persistent problem whereas making an attempt to open my Flutter app on the iOS emulator. The issue arises once I click on on the “Signal In with Google” or some other button within the app, inflicting an instantaneous crash. I’ve already executed flutter physician, and no points have been reported.

To offer extra context and support in troubleshooting, I’m prepared to share further code recordsdata if wanted. Please let me know which recordsdata or sections of code could be most useful for diagnosing and resolving this downside. I’m in search of steering on figuring out the foundation explanation for the crash and implementing an answer.

Any insights, solutions, or suggestions could be drastically appreciated. Thanks!


Incident Identifier: 79A66427-9DCF-4D90-B160-93757D95DA7B
CrashReporter Key:   8ECF55FE-91AD-021D-3A1A-2CD283C69157
{Hardware} Mannequin:      MacBookPro18,3
Course of:             Runner [22592]
Path:                /Customers/USER/Library/Developer/CoreSimulator/Units/BD1A0D1B-10E2-4720-AED3-ADA72DFDCA94/knowledge/Containers/Bundle/Software/41829695-9B02-47EC-8380-6AF196D2267F/Runner.app/Runner
Identifier:          com.instance.tiffsyApp
Model:             1.0.0 (1)
Code Sort:           ARM-64 (Native)
Function:                Foreground
Guardian Course of:      launchd_sim [14954]
Coalition:           com.apple.CoreSimulator.SimDevice.BD1A0D1B-10E2-4720-AED3-ADA72DFDCA94 [1731]
Accountable Course of: SimulatorTrampoline [1061]

Date/Time:           2024-01-17 09:20:55.9962 +0530
Launch Time:         2024-01-17 09:20:40.1719 +0530
OS Model:          macOS 14.2.1 (23C71)
Launch Sort:        Person
Report Model:      104

Exception Sort:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Purpose: SIGNAL 6 Abort lure: 6
Terminating Course of: Runner [22592]

Triggered by Thread:  0

Final Exception Backtrace:
0   CoreFoundation                         0x18049111c __exceptionPreprocess + 160
1   libobjc.A.dylib                        0x18008412c objc_exception_throw + 56
2   CoreFoundation                         0x180491038 -[NSException initWithCoder:] + 0
3   GoogleSignIn                           0x1042bf3a4 -[GIDSignIn assertValidParameters] + 156 (GIDSignIn.m:988)
4   GoogleSignIn                           0x1042bbbd4 -[GIDSignIn signInWithOptions:] + 112 (GIDSignIn.m:519)
5   GoogleSignIn                           0x1042ba924 -[GIDSignIn signInWithConfiguration:presentingViewController:hint:additionalScopes:callback:] + 228 (GIDSignIn.m:242)
6   Runner                                 0x1030011fc -[FLTGoogleSignInPlugin signInWithCompletion:] + 528
7   Runner                                 0x103006090 __FSIGoogleSignInApiSetup_block_invoke.119 + 184
8   Flutter                                0x10e24192c __48-[FlutterBasicMessageChannel setMessageHandler:]_block_invoke + 160
9   Flutter                                0x10dc6078c invocation operate for block in flutter::PlatformMessageHandlerIos::HandlePlatformMessage(std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::PlatformMessage, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::PlatformMessage>>) + 108
10  libdispatch.dylib                      0x18016b4f4 _dispatch_call_block_and_release + 24
11  libdispatch.dylib                      0x18016cd3c _dispatch_client_callout + 16
12  libdispatch.dylib                      0x18017bb24 _dispatch_main_queue_drain + 1272
13  libdispatch.dylib                      0x18017b61c _dispatch_main_queue_callback_4CF + 40
14  CoreFoundation                         0x1803f1a30 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
15  CoreFoundation                         0x1803ec148 __CFRunLoopRun + 1936
16  CoreFoundation                         0x1803eb5a4 CFRunLoopRunSpecific + 572
17  GraphicsServices                       0x18e9fbae4 GSEventRunModal + 160
18  UIKitCore                              0x1852f02e4 -[UIApplication _run] + 868
19  UIKitCore                              0x1852f3f5c UIApplicationMain + 124
20  Runner                                 0x102fad08c fundamental + 64 (AppDelegate.swift:5)
21  dyld_sim                               0x1031f1544 start_sim + 20
22  dyld                                   0x1034160e0 begin + 2360
23  ???                             0x111d800000000000 ???

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                 0x1044e49ec __pthread_kill + 8
1   libsystem_pthread.dylib                0x1045ef1d0 pthread_kill + 256
2   libsystem_c.dylib                      0x1801605cc abort + 104
3   libc++abi.dylib                        0x18028ec78 abort_message + 128
4   libc++abi.dylib                        0x180280198 demangling_terminate_handler() + 300
5   libobjc.A.dylib                        0x18005fbf0 _objc_terminate() + 124
6   libc++abi.dylib                        0x18028e150 std::__terminate(void (*)()) + 12
7   libc++abi.dylib                        0x18028e100 std::terminate() + 52
8   libdispatch.dylib                      0x18016cd50 _dispatch_client_callout + 36
9   libdispatch.dylib                      0x18017bb24 _dispatch_main_queue_drain + 1272
10  libdispatch.dylib                      0x18017b61c _dispatch_main_queue_callback_4CF + 40
11  CoreFoundation                         0x1803f1a30 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
12  CoreFoundation                         0x1803ec148 __CFRunLoopRun + 1936
13  CoreFoundation                         0x1803eb5a4 CFRunLoopRunSpecific + 572
14  GraphicsServices                       0x18e9fbae4 GSEventRunModal + 160
15  UIKitCore                              0x1852f02e4 -[UIApplication _run] + 868
16  UIKitCore                              0x1852f3f5c UIApplicationMain + 124
17  Runner                                 0x102fad08c fundamental + 64 (AppDelegate.swift:5)
18  dyld_sim                               0x1031f1544 start_sim + 20
19  dyld                                   0x1034160e0 begin + 2360

Thread 1:
0   libsystem_pthread.dylib                0x1045ea6dc start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib                0x1045ea6dc start_wqthread + 0

Thread 3:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib                 0x1044dcbb0 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1044edd44 mach_msg2_internal + 76
2   libsystem_kernel.dylib                 0x1044e4dd4 mach_msg_overwrite + 532
3   libsystem_kernel.dylib                 0x1044dcf28 mach_msg + 20
4   CoreFoundation                         0x1803f1754 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                         0x1803ebe34 __CFRunLoopRun + 1148
6   CoreFoundation                         0x1803eb5a4 CFRunLoopRunSpecific + 572
7   Basis                             0x180dcd68c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
8   Basis                             0x180dcd8b0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 60
9   UIKitCore                              0x185393b88 -[UIEventFetcher threadMain] + 404
10  Basis                             0x180df3e70 __NSThread__start__ + 720
11  libsystem_pthread.dylib                0x1045ef4c0 _pthread_start + 104
12  libsystem_pthread.dylib                0x1045ea6f0 thread_start + 8

Leave a Reply

Your email address will not be published. Required fields are marked *