I just add the text field as a search bar, didn't set any delegate or other stuff. I change the App language and after reloading the view just tap on the text field app gets crashed.
Xcode console shows. invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution. 2022-02-09 08:57:03.357146-0500 NXO - TASC Towers[3082:658326] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
Don't know where it getting out of the index. Please help me if you can.