Notarization error

I have a .pkg which signed with Developer ID Installer certificate. The apps in side the package also signed by Developer ID certificate.

Still I get Notorization error as following:


"message": "The executable was not signed with the CS_RUNTIME option.",


Note: all the individual apps and .pkg signged using xcode 9, where as Notarization tried using xcode 10 tools


Thanks

Birajendu

Replies

This above error fixed once I build all the binaries using xcode, but ran in to new error.


"message": "The executable does not have the hardened runtime enabled.",


How ever I have already enabled hardened runtime for the apps in my .pkg.

The developer log lists the filename for each issue, so you should be able to find the path that does not have the hardened runtime enabled. It needs to be code signed with the --runtime flag.