Crash Report: NSInvalidArgumentException

Hi, my app has crash many times at below crash stack. All crash at ios 13. Can anyone help me?

Code Block language
Incident Identifier: D5306F25-FFA9-4806-AD86-80BEC3F02CE3
CrashReporter Key: c2e6c2d98198eca2f4a1a1849c70511f190493c1
Hardware Model: iPhone12,1
Process: [8492]
Path: /private/var/containers/Bundle/Application/4107C325-F54C-472E-AA8F-5F363D530B31/.app/
Identifier: com.qingqikeji.blackhorse.passenger.appstore
Version: 3.1.6 (3.1.6.9589945373)
Code Type: ARM-64
Parent Process: ? [1]
Date/Time: 2020-06-28T23:21:14Z
Launch Time: 2020-06-28T23:00:15Z
OS Version: iOS 13.3.1 (17D50)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000 at 0x0000000000000000
Crashed Thread: 0
Application Specific Information:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[DOMHTMLTextAreaElement createInteractionAssistantIfNecessaryWithMode:]: unrecognized selector sent to instance 0x283e4df20'
Thread 0 Crashed:
0 CoreFoundation _exceptionPreprocess
1 libobjc.A.dylib _objc_exception_throw
2 CoreFoundation -[NSOrderedSet initWithSet:copyItems:]
3 CoreFoundation __forwarding_
4 CoreFoundation CF_forwarding_prep_0
5 UIKitCore -[UITextInteraction didMoveToView:]
6 UIKitCore -[UITextPhraseBoundaryInteraction didMoveToView:]
7 UIKitCore setInteractionView
8 UIKitCore -[UIView(Dragging) addInteraction:]
9 UIKitCore -[DOMNode(UITextInput_Internal) _setGestureRecognizers]
10 UIKitCore -[DOMNode(UITextInput_Internal) _setAttributedMarkedText:selectedRange:]
11 CoreFoundation _invoking_
12 CoreFoundation -[NSInvocation invoke]
13 CoreFoundation -[NSInvocation invokeWithTarget:]
14 UIKitCore -[UIThreadSafeNode forwardInvocation:]
15 CoreFoundation __forwarding_
16 CoreFoundation CF_forwarding_prep_0
17 UIKitCore -[UIKeyboardImpl _setAttributedMarkedText:selectedRange:inputString:searchString:compareAttributes:]
18 UIKitCore -[UIKeyboardImpl syncKeyboardToConfiguration:]
19 UIKitCore _55-[UIKeyboardImpl handleKeyboardInput:executionContext:]_block_invoke_2
20 UIKitCore -[UIKeyboardTaskEntry execute:]
21 UIKitCore -[UIKeyboardTaskQueue continueExecutionOnMainThread]
22 libobjc.A.dylib -[NSObject performSelector:withObject:]
23 Foundation _NSThreadPerformPerform
24 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
25 CoreFoundation _CFRunLoopDoSource0
26 CoreFoundation _CFRunLoopDoSources0
27 CoreFoundation _CFRunLoopRun
28 CoreFoundation _CFRunLoopRunSpecific
29 GraphicsServices _GSEventRunModal
30 UIKitCore _UIApplicationMain
31 青桔 2062152
32 libdyld.dylib _start



crash stack file .





At first blush this looks like a memory management problem. Try running your app with the standard memory debugging tools.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Crash Report: NSInvalidArgumentException
 
 
Q