Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug System Pref Pane w/10.11 and System Integrity Protection

One of my projects is a System Preference Pane. With 10.11, Xcode's debugger can't debug it as I get a "can't attach to System Preferences because of System Integrity Protection".

How can I debug my prefpane under 10.11, as I have done in every OS back to 10.3?

like image 994
Trygve Avatar asked Sep 29 '15 21:09

Trygve


1 Answers

I ended up making a copy of System Preferences, called it "System Preferences (Signed)" and then signed it with my DeveloperID which replaces the old code signature and allows it to run normally without SIP getting in the way.

like image 79
Trygve Avatar answered Oct 02 '22 23:10

Trygve