EXTENSIONS: convert Firefox extension to Safari extension

541 Views Asked by At

I am trying to convert my firefox extension to a safari extension. To do that, I used these codes xcrun safari-web-extension-converter /path/to/extension . In my package json, I wrote a script :

"start:safari": "npm run-script build:safari; xcrun safari-web-extension-converter ./dist --force --copy-resources --project-location ./safari ",
"build:safari": "cross-env TARGET=safari webpack --progress --config webpack.prod.js",

When I run 'start:safari' script it opens xcode. Then I build it, there occurs an error: enter image description here

Probably because of that, my setIcon API not working. Also there is no error in console. How can I fix that problem? What is the reason?

0

There are 0 best solutions below