Safari App Extension: Package Doesn't Sign Extension

I want to begin the App Store review process and I'm just going through the steps to distribute and test the application among my team before I submit for review. When I export an Archive as an .app file everything works as expected. I run the application, enable the extension in Safari and it's all good.


However, when I validate the Archive (it validates correctly), download the .pkg file, install the application to /Applications, run the application, and open Safari Prefences the extension is not visible. I've been playing around with it for hours and what I have found out is that when I select "Allow Unsigned Extensions" the Safari App Extension shows up. So ofcourse I thought something was wrong with the signature, but when I run the commands

codesign -dvv /Applications/MyApp.app/

and

codesign -dvv /Applications/MyApp.app/Contents/PlugIns/MySafariExtension.appex/

the signatures both look good with the correct Team Identifier as well as the Authorities.


Anyone have any idea what could be happening?

Replies

The package itself might be corrupted. Maybe you can try downloading again.