While I can get a simple webextension to load on my development machine, I can't figure out how to package it for distribution. What are the requirements for doing so? I've tried:
Enabling hardened runtime
Clicking the checkbox to allow Apple events.
Removing the "strip" step from the build process to avoid warnings about code signature being invalidated.
Signing both Extension and App with a Developer ID Application certificate.
Notarizing the App.
Exporting the notarized app.
After doing the above, I copy the notarized app to a testing machine. I can then run it. A dialog pops up that says: "Foo extension is currently off. You can turn it on in Safari Extension preferences." But when I click the button to open Safari Extension preferences, the extension is not listed.
What am I doing wrong?