System Preferences legacyLoader and SFAuthorizationView

Trying to build a Preference Pane and use SFAuthorizationView to lock and unlock changes. When unlocking the prompt says "legacyLoader wans to make changes" and not "System Preferences wants to make changes". Why is my Prefernece Pane loading with the legacyLoader and how can I fix this?

Replies

I would like to know this too.


In general, Apple pref panes have been implemented as XPC services since a while ago, but I'm not aware of documentation or a way for normal humans to do the same.


The legacyLoader thing is simply a way to isolate preference panes in their own process, so security wise this is a good change and I would actually be happy with it too if it was just named differently or if the non-legacy way was documented.