User Tools

Site Tools


build_safari_extension

This is an old revision of the document!


#Build Safari Extension

Convert Chrome extension to Safari Extension

sudo xcode-select -s /Applications/Xcode.app
xcrun /Applications/Xcode.app/Contents/Developer/usr/bin/safari-web-extension-converter /path/to/extension

manifest.json need to be version 2. Version 3 will cause error.

Then refer to this article: https://bartsolutions.github.io/2020/11/20/safari-extension/

Test unpacked extension in Safari

Screen Shot 2022-07-30 at 6.26.42 PM Open the X-Code project of your Safari extension. Press “run” button. It should auto run your unpacked extension in Safari

Troubleshoot

build_safari_extension.1659173272.txt.gz · Last modified: (external edit)