Xcode 9: Main Thread Checker

October 2nd, 2017

Filed under: Xcode | Be the first to comment!

Xcode 9 adds Main Thread Checker, a tool that detects when you make AppKit, UIKit, and WebKit calls on a background thread. Main Thread Checker should be enabled automatically when debugging, but you can check your scheme by selecting the Run step and clicking the Diagnostics button at the top of the scheme editor. Make sure the Main Thread Checker checkbox is selected.

Xcode9UndefinedBehaviorSanitizer

You can learn more about Main Thread Checker in the following WWDC video:

Finding Bugs Using Xcode Runtime Tools

Facebooktwittergoogle_plusredditmail

Tags:


Leave a Reply

Your email address will not be published. Required fields are marked *