After searching through some old forum-posts where this problem is also described, I do not think it is possible.
If you have multiple extensions you only have two options:
1 - Simply open the preferences (it is not possible to open the Extensions part of the preferences, for some reason) using the following code:
NSWorkspace.shared.open(URL(string: "x-apple.systempreferences:com.apple.preference")!)
You should display some instructions for the user, telling them where and how to enable your extensions (which is what I resulted to)
2- Result to opening only the config of the Finder Sync Extension using:
FIFinderSyncController.showExtensionManagementInterface()
This is suboptimal though, because the user might only enable one of your extensions.
I really hope that some implementation of opening the extension preferences will be added soon, or that some of the older extension (e.g. Share Extension, in my case) get updated to also include a Controller similar to the FIFinderSyncController of the Finder Sync extension.
Topic:
App & System Services
SubTopic:
Core OS
Tags: