Since Xcode 9.4, whenever I run my main app in the debugger, I get this warning in the console:
MyApp[nnnn:nnnnnn] pid(nnn)/euid(nnn) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
Can someone enlighten what TIS/TSM is, so that I can fix this warning?
Thanks,
J.
I expect that message is coming from the Main Thread Checker: https://developer.apple.com/documentation/code_diagnostics/main_thread_checker
TIS = Text Input Sources
TSM = Text Services Manager
You're doing something like trying to translate key events to characters on a background thread.
There's a setting in the Scheme editor to make your app pause when it hits such a problem, so you can see the stack trace.