I wrote a Safari Extension that I'd like to have permanently enabled on my computer. It works fine, but I have to click Develop -> Allow Unsigned Extensions
and enable it manually every time I open Safari for it to be available. I'm not really sure how the signing process works. Is there a way I can sign my extension for only this computer, without having to subscribe to an Apple Developer account?
Asked
Active
Viewed 1,632 times
6

kneedhelp
- 555
- 4
- 18
1 Answers
4
Figured it out. First thing to do was to create a development account with Apple (the free version). Then, I went to Product -> Archive
which brought up this window.
Next, I hit
Distribute App -> Development
and chose my account in the Development Team
drop-down (you'll have to add your account in Xcode -> Preferences -> Accounts
if you haven't done so already). Then I clicked Automatically manage signing
then followed the remaining prompts to choose where to export the app. I ran the app, and the extension was available in Safari, even after restarting the browser.
That's it! Be aware that if you delete your app, it will also delete your extensions. Hope this helps someone!

kneedhelp
- 555
- 4
- 18
-
1Does this last permanently or does the certificate run out after 7 days, like self-signed iOS Apps? – EmlJnke Jan 29 '22 at 19:47
-
Haven’t changed anything since I posted and the extension still shows up checked in my Safari :) – kneedhelp Feb 15 '22 at 06:40
-
I get certificate errors, like: No signing certificate "Mac Development" found – Mladen Petrovic Jan 28 '23 at 20:28