Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crashed: com.twitter.crashlytics.ios.exception IOS

I'm getting this issue in Crashlytics and, I really don't know what is causing it. It show me that the error is in my AppDelegate, 15 line, but there is where the class beginning:

class AppDelegate: UIResponder, UIApplicationDelegate {

This is the issue:

Fatal Exception: NSInvalidArgumentException Application tried to present modally an active controller RN.ViewController: 0x1509e200.

Crashed: com.twitter.crashlytics.ios.exception SIGABRT ABORT 0x00000000206e6c5c

0 RN CLSProcessRecordAllThreads + 986

1 RN CLSProcessRecordAllThreads + 986

2 RN CLSProcessRecordAllThreads + 722

3 RN CLSHandler + 30

4 RN __CLSExceptionRecord_block_invoke + 66

5 libdispatch.dylib_dispatch_client_callout + 22

6 libdispatch.dylib_dispatch_barrier_sync_f_invoke + 56

7 RN CLSExceptionRecord + 250

8 RN CLSExceptionRecordNSException + 614

9 RN CLSTerminateHandler() + 544

10 libc++abi.dylib std::__terminate(void (*)()) + 78

11 libc++abi.dylib__cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 110

12 libobjc.A.dylib objc_exception_throw + 250

13 UIKit-[UIViewController _presentViewController:withAnimationController:completion:] + 4640

14 UIKit__62-[UIViewController presentViewController:animated:completion:]_block_invoke + 336

15 UIKit-[_UIViewControllerTransitionCoordinator _applyBlocks:releaseBlocks:] + 204

16 UIKit-[_UIViewControllerTransitionContext _runAlongsideCompletions] + 128

17 UIKit-[_UIViewControllerTransitionContext completeTransition:] + 108

18 UIKit-[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 540

19 UIKit-[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 204

20 UIKit-[UIViewAnimationState animationDidStop:finished:] + 78

21 QuartzCore CA::Layer::run_animation_callbacks(void*) + 252

22 libdispatch.dylib_dispatch_client_callout + 22

23 libdispatch.dylib_dispatch_main_queue_callback_4CF$VARIANT$mp + 1524

24 CoreFoundation CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 8

25 CoreFoundation __CFRunLoopRun + 1574

26 CoreFoundation CFRunLoopRunSpecific + 520

27 CoreFoundation CFRunLoopRunInMode + 108

28 GraphicsServices GSEventRunModal + 160

29 UIKit UIApplicationMain + 144

30 RN AppDelegate.swift line 15

Thank you for your help.

like image 918
Brayan Villalobos Bravo Avatar asked Jun 22 '18 20:06

Brayan Villalobos Bravo


1 Answers

I had a similar issue with iOS 13. I ended up upgrading the Crashlytics library, since the Crashlytics team fixed a few crashes for iOS 13.

Anyone who has these crashes on iOS 13 devices should upgrade Crashlytics to at least version 3.14.0.

like image 101
Francois Nadeau Avatar answered Oct 09 '22 00:10

Francois Nadeau