I am trying to write a Firefox addon (adapting a Google Chrome plugin) but I can't get it to install via about:addons. I get the error: This add-on could not be installed because it appears to be corrupt.
Installing via about:debugging is possible. Similarly, I am also able to run it using web-ext run. web-ext lint does not show any errors, notices, or warnings.
I have tried installing .zip as well as .xpi.
I am following the steps mentioned in Permission requests for extension installation.
I have set xpinstall.signatures.required to False as well.
As an alternative,
web-ext buildworked for me.