Remix.run Logo
karel-3d 8 days ago

Interesting. Maybe I tried to do something too complex, I don't remember.

https://developer.apple.com/documentation/safariservices/cre...

Here they talk about the "container" that needs to be in Swift/Obj-C. I remember I used to have some problems with the "container" application

I think the issue starts to be when you want your extension/app to have any kind of settings that is retained? I don't remember, really.

darrenf 8 days ago | parent [-]

Yeah, I didn’t go the “Creating a Safari web extension” route, rather I went via “Packaging a web extension for Safari”: https://developer.apple.com/documentation/safariservices/pac...

I note that they say the command has changed from the one I used, it’s now:

    xcrun safari-web-extension-packager
My extension has storage/settings, and it works fine. I have edited no Swift code at all.