Unable to load UI for Safari App Extension

I had created a Main.storyboard file and added a Window Controller Scene and View Controller Scene.

I also created a ViewController.swift file and added it to the info.plist under NSExtension -> NSExtensionPrincipalClass

But when I launch the app extension by enabling the extension in the Safari Browser (host app), I don't see any UI popup for the app extension.

Is there any step I am missing in this ?

Also is there a main method for the App Extension or is it only the func beginRequest in the SafariWebExtensionHandler class? If i wanted another main like thread to instantiate objects for example., Where can I place them ?

Thank you
It sounds like you created a Safari Web Extension instead of a Safari App Extension.

Safari Web Extensions use HTML for their popovers.
Hi bweinstein, can the App Extension that comes with the Safari Web Extension still have its own UI ?
Unable to load UI for Safari App Extension
 
 
Q