by BronzeBeard » Fri Jan 04, 2019 1:45 pm
Little bit of necro posting, but I figured this might help a few people. I use OS X 10.12, and Xcode 9. I also had issues OnPaint() not being called and no errors in the logs or terminals. I came to find out that system log messages are in Utilities/Console.app and are not spit out into the terminal when running your program. In my example, the helper program's code signature was being marked as invalid and the kernel was not allowing the helper to run properly. Of course, none of this was in the terminal... I also come to find out that Code Signature system has greatly changed in Xcode 9 and on. I created a new Xcode project to generate my helper as a cli program, and thus not require code signature and now it works fine.
This may or may not be valid for Mojave, but you never know.