I have a System Preference Pane that contains various helper apps. It is delivered in an Installer App (in the /Contents/PlugIns folder) and when the Installer runs, it simply launches the prefPane to let the system copy it into System Preferences. The Installer notarizes properly, but when I look at the embedded prefPane in /Contents/PlugIns I get:
spctl -a -v my.prefPane
> My.prefPane: rejected (the code is valid but does not seem to be an app)
xcrun stapler validate --verbose my.prefPane
> My.prefPane does not have a ticket stapled to it.
If I notarize the prefPane directly I get:
spctl -a -v my.prefPane
> My.prefPane: rejected (the code is valid but does not seem to be an app)
xcrun stapler validate --verbose my.prefPane
>The validate action worked!
I need it to work when delivered as an embedded plugin in my Installer App. How can I make this work so that when the Installer copies the embedded prefPane to System Preferences, the prefPane is still treated as having been notarized?