On 9/30/15 18:52, [email protected] wrote: > Date: Wed, 30 Sep 2015 21:18:26 +0000 > From: Lee Ann Rucker <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=Windows-1252 > > On Sep 29, 2015, at 11:17 PM, Trygve Inda <[email protected]> wrote: > >> > Surely there has to be a better way - that would mean I have to develop the >> > software with SIP turned off, then reboot to turn it on to test it on a >> > "real" system. >> > > You could run it in a virtual machine :) > > I've got SIP off - because, of course, I'm building Fusion - and I've > attached to System Prefs with no problems, although I was just using the UI > inspector to see how they did something.
You could make a copy of System Preferences.app on your desktop and run your pane from there. I can't test this yet, but if the debugger doesn't attach to that, re-sign it with your own Developer ID. Option 2 would be, since the pref pane APIs are documented, write your own container app and debug with that - IIRC pref panes can be run from any app that implement those APIs. -- Rainer Brockerhoff <[email protected]> Belo Horizonte, Brazil "In the affairs of others even fools are wise In their own business even sages err." http://brockerhoff.net/blog/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
