According to the Apple Developer Documentation Diagnosing Memory, Thread, and Crash Issues Early, in the "Detect Improper UI Updates on Background Threads" section, the libMainThreadChecker.dylib can be injected at runtime to an application in order to use the Main Thread Checker tool. How would one go about injecting this dylib before (if possible) or during runtime without using the diagnostic setting in Xcode? I've tried injecting using the osxinj and yololib projects on GitHub with no luck.
