Search code examples
macossafarisafari-extension

Safari App Extension not installed


FYI I'm totally new to XCode development. I have a Safari App Extension project.

If I run it from within XCode, it adds my extension to Safari just fine. If I create an Archive, Export, and choose "Export a Development Signed Application" I can take the generated file, install it on another computer, run Safari, and see the extension. If I create an Archive, Xport, and choose "Save for Mac App Store Deployment" and then install the generated file, I see my App Extension in my Applications, but nothing shows up in Safari.

Our submission to the App Store also got denied because the extension was missing. How do I make the App Store installer install the extension so that Safari can see it?

Thanks in advance...


Solution

  • For anyone else who hits a similar issue, I made some progress. I did find that when I ran my installer my extension was actually being installed to Safari. I just didn't see it in my Safari extension list until I chose the 'Allow Unsigned Extensions' option under the Develop menu in Safari.

    I thought that since I had my Signing area set up in the project and my machine is on the list of allowed machines in iTunes Connect that I'd be able to see it in the extensions list even without that option specified. So I uploaded the build again and they didn't reject it for that reason anymore.

    As to what happened the first time, I'm not sure. Either they made a mistake, or my maybe I didn't have the correct target selected when I created the archive. I needed to make sure to have the Mac app be the target, not the extension.