I'm looking for instructions on how to set up XCode to debug a Preference Pane project in XCode 8.
Instructions on how to debug Preference Pane
Add a Comment
I'm looking for instructions on how to set up XCode to debug a Preference Pane project in XCode 8.
Debugging preferences panes is tricky because they are loaded into a system process that you can’t attach to. I’ve not tried this myself but I did investigate a similar problem with Automator, which you can read about here.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
@DesertNomad you're a lifesaver. I've been looking for this for the past two weeks or so. The current path for the loader is a bit different (/System/Library/Frameworks/PreferencePanes.framework/Versions/Current/XPCServices/legacyLoader-x86_64.xpc/Contents/MacOS/legacyLoader-x86_64
, in my case) but the general instructions stand.