Safari Web Extension disappearing on click

I converted my Chrome extension to a Safari web extension using this converter.

I then

  • run the extension in xcode (macOS (App))
  • open the app
  • allow unsigned extensions in Safari
  • select the checkbox in Extension settings, giving it permission to run

The extension icon then shows up in Safari where its supposed to. However, whenever I click on the icon to test the extension, nothing opens and the icon disappears.

Is there an extra step I'm missing?

When I run 'pluginkit -mAvvv -p com.apple.Safari.extension' in the terminal, my extension does not show up.

Safari Web Extension disappearing on click
 
 
Q