Safari App Extension Pops up empty window

Hello,


I am new to Safari extensions. I have been given the task of porting a legacy Safari extension over to a new Safari App Extension. I have managed to do so. However, when I build the extension using XCode, it first opens an empty window. Like a blank dialog box with my extension's name as the title. The same thing happens if I archive the extension and run the .app file. My extension will have no user interface. How can I hide this window?


Thanks!

Accepted Reply

Ok, I have figured it out. What I did was to click on each of the .xib files in my project. I then unchecked all items under "Target Membership". Now it no longer shows the window.

Replies

Ok, I have figured it out. What I did was to click on each of the .xib files in my project. I then unchecked all items under "Target Membership". Now it no longer shows the window.

Safari Extensions must be packaged as apps. That is your app's user interface.


Depending on how you distribute your app, users will need to run it to find your extension.