iosswiftios12

What is Main Thread Checker in Xcode


I checked what's new in Xcode 9 documentation and I found this

enter image description here

But i didn't understand what is that how I can use this with new Xcode 9.


Solution

  • It can be enabled/disabled in the diagnostics option of the scheme. Besides, the "Pause on issues" is a comfortable option to debug these problems.

    Xcode 11 enter image description here

    Xcode <11 Example