I am building a macOS app that is using a framework that I have written in the following way:
Let's take for example the architecture:
Next, I tried adding a .entitlements file to this framework project and code-signing it with the runtime as options plus providing the entitlements file.
I have the same settings under the .app project and there everything works fine.
Unfortunately, after all, steps are taken, when I try to notarize the app it says that the project referenced from the framework(step 2) has no hardened runtime enabled.
I am receiving the following output from notarization:
Let's take for example the architecture:
test.app (it is a macOS app, that has entitlements enabled, and after code signing, everything works as expected.
Into test.app, on build action, I am copying under SharedSupport the framework that I have locally built. This one I am signing as well.
Next, I tried adding a .entitlements file to this framework project and code-signing it with the runtime as options plus providing the entitlements file.
I have the same settings under the .app project and there everything works fine.
Unfortunately, after all, steps are taken, when I try to notarize the app it says that the project referenced from the framework(step 2) has no hardened runtime enabled.
I am receiving the following output from notarization:
Code Block { "severity": "error", "code": null, "path": "test.pkg/sample.pkg Contents/Payload/Applications/test.app/Contents/SharedSupport/Addin/Default/sometest.framework/Versions/A/Resources/folder-to-net-framework-bin/test-net", "message": "The executable does not have the hardened runtime enabled.", "docUrl": null, "architecture": "x86_64" },