We finally got our endpoint security client entitlement from Apple so we would like to test the notarization process.
As I understand below are the required steps:
Create provisioning profile for container app with es client entitlement
Use the profile in xcode
build and sign the app with xcode
(here I am not sure) zip the app and run it through xcrun for notarization
staple the app
I get the usual "Extension blocked" message, go to the settings and authorize the app.
I can see that the extension has been activated with "systemextensionsctl list" but get a crash report for the es client with code EXC_CRASH (Code Signature Invalid)
Termination reason: Namespace CODESIGNING, Code 0x1
So I am guessing the signing or notarization process is not right. My es client has a .entitlements file but I am not seeing a embedded entitlement file in the .systemextension bundle.
Should I notarize the es client as well? Or maybe the build process does not link the entitlement for my es client? In my build setting I have the correct path for "Code Signing Entitlements".
Any help would be welcomed! Thank you!