I downloaded the ES sys-ext sample project. I built the 'NOTIFY' extension, and I was able to install it. However, it doesn't seem to work (or - it doesn't report anything).
This is what I did:
- I download the project
- I renamed the bundle IDs
- I disabled SIP
- I tried both signing options - let 'Xcode automatically manage signing', and I also tried to use my 'Developer ID'
- I moved the app to the Applications folder
- I grant the 'Full Disk Access' permission to the extension
- I verified that the extension is running
- I did not get the needed entitlement yet, but since SIP is disabled, I don't think it's a problem
- I did get the message 'Successfully installed the extension ✅'
- At the terminal, I tried to capture relevant logs:
log stream --style compact --predicate 'sender == "myBundleId"' (I tried it with the app bundleID, and with the extension's bundleId)
And yet, 'ps' triggers no logs.
*At the Console, I get those messages: "Unsatisfied entitlements: com.apple.developer.endpoint-security.client" Disallowing: myBundleId
amfid: Restricted entitlements not validated, bailing out. Error: Error Domain=AppleMobileFileIntegrityError Code=-413 "No matching profile found" UserInfo={NSURL=<private>, unsatisfiedEntitlements=<private>, NSLocalizedDescription=No matching profile found}
Any idea where's the problem at?