Since Safari 14.0 (with Xcode 12), Apple supports the automatic conversion of Chrome extension to Safari extension (ο£Ώ Documents), I tested it and found that the xcrun safari-web-extension-converter
produced the following warning:
β enhanced-github git:(master) xcrun safari-web-extension-converter --app-name "Enhanced GitHub" --bundle-identifier "com.example.safari.enhanced-github" --objc --project-location ../enhanced-github-safari ./
Xcode Project Location: /Users/patrickfu/code/enhanced-github-safari
App Name: Enhanced GitHub
App Bundle Identifier: com.example.safari.enhanced-github
Language: Objective-C
Is this correct? [yes]: yes
Warning: The following keys in your manifest.json are not supported by your current version of Safari. If these are critical to your extension, you should review your code to see if you need to make changes to support Safari:
persistent
β enhanced-github git:(master)
Despite this warning, the Safari extension Xcode project can still be generated, and the app can be archived and exported normally, but it does not work at all. (I have been configured Github access token)
Iβm not familiar with the development of web extensions, and I donβt know if this problem is caused by the above warning.
Could you make this extension compatible with Safari? It does not need to publish to AppStore. We can use our own Apple developer account to sign the extension. Sincere thanksπ₯°