How to enable the FinderSync in code

83 views Asked by At

I enable the FinderSync in my Host app with the method introduced by : How to enable FinderSync Extension in the System Preference in Cocoa - Objective C Preference-objective The extension is added in the System Preference but not checked , sometimes is checked. So any body can help me, Any help is appreciated!

My OSx is 10.11.5, and the Xcode is 7.3.1.

1

There are 1 answers

0
Tessimle On

I add the FinderSync extension name to the bundle ID, it works.

system("pluginkit -e use -i mybundleID.FinderSyncExtensionName");