iOS 15.0 NSInternalInconsistencyException eason: 'Shouldn't have translate session'

I always get this crash just Monkey test. I don't know that lead to crash.

Exception Type: SIGABRT
Exception Codes: #0 at 0x1b6ef59c4
Crashed Thread: 0

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Shouldn't have  translate  session'

I saw a post saying that long press translation in UITextField caused the crash. You overload the method: - (BOOL)canPerformAction:(SEL)action withSender:(id)sender,Then disable the translation function

iOS 15.0 NSInternalInconsistencyException eason: 'Shouldn't have translate session'
 
 
Q