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!
The container app must have the com.apple.developer.system-extension.install entitlement. You can set this using Xcode’s Signing & Capabilities editor and automatic code signing will sort out the profile.
You ES sysex must have the com.apple.developer.endpoint-security.client. This requires manual code signing. I don’t have specific instructions for this but the general idea is outlined in the Old Process post on this thread.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"