pkd/pluginkit does not register Safari App Extensions installed in /Library/Services

Originator:nbeadman
Number:rdar://45603310 Date Originated:26-Oct-2018 04:27 PM
Status:Open Resolved:
Product:macOS + SDK Product Version:10.12.6 (16G1510)
Classification:UI/Usability Reproducible:Always
 
Summary:
We have an application, distributed outside of the App Store, using the Apple Installer that installs an application to /Library/Services. This application includes both Service menu items and a Safari App Extension. When installed to /Library/Services, pluginkit does not register the Safari App Extension automatically.

Steps to Reproduce:
1) Install the attached application using drag and drop to /Library/Services.
2) Open Safari’s Extension tab of Preferences

Expected Results:
“Xinet CM” appears as a, disable, extension

Actual Results:
It is not present.

Version:
10.12.6 (16G1510)

Notes:
Only workaround I have found is to run:

pluginkit -a /Library/Services/Xinet\ WebNative.app/Contents/PlugIns/Safari\ App\ Extension.appex/

This is not recommended according to the manual page. It is not clear to me if this would have to be run for ever user on the system.

Note, the attached application’s on disk name is “Xinet WebNative.app” but it uses LSHasLocalizedDisplayName and InfoPlist.strings to appear as “Xinet Contextual Menu Support”

Comments

Attachment referenced above available upon request.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!