https://www.albertopasca.it/whiletrue/xcode-debug-macos-preferencespane-applications/
XCode - Debug macOS PreferencesPane applications