Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Safari Extension app is not shown in Safari preferences Extensions tab

I have followed all the instruction mentioned at Creating Your First Safari Extension App. After running FirstSafariExtensionApp target, I have opened Safari preferences Extensions tab but I couldn't find My Extension in the left pane. I have Apple Developer membership and installed Mac Developer and Safari Extension Developer certificates in the KeyChain.

How to get my first safari extension app working?

like image 927
Necktwi Avatar asked Oct 16 '25 14:10

Necktwi


2 Answers

I had the same problem, the Extension didn't show when running the app even though I made sure to allow unsigned extensions.

I could run the extension target by choosing Safari as app to run but that's not what I wanted.

It was only after I hit Product > Clean Build Folder that the extension would show up when running the app.

like image 121
user3252261 Avatar answered Oct 19 '25 13:10

user3252261


Did you enable the Develop menu in Safari and turn on the “Allow Unsigned Extensions” option?

That did not work for me, so I tried running the scheme for the extension rather than the scheme for the app. I first edited this scheme to set the executable to the containing app.

When I ran this, the extension showed up in the Safari preferences, but only while the app was running.

like image 29
Gary Makin Avatar answered Oct 19 '25 12:10

Gary Makin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!