Can a daemon launch a system extension (via an activationRequestForExtension)? I have a daemon that attempts this however if fails with an error of "Invalid Code signature or missing entitlements" I've added the system-extension entitlement to the daemon's plist, however, I'm not sure daemons will honor the entitlement. The bundle and daemon is signed.
Daemons launching system extensions
Can a daemon launch a system extension (via an
)?-activationRequestForExtension:queue:
No. That API is meant to be used by an app.
I've added the [
] entitlement to the daemon's plist, however, I'm not sure daemons will honor the entitlement.com.apple.developer.system-extension.install
FYI, daemons can use entitlements, although to do so you have to package the daemon in an app-like structure in order to have a place to store the provisioning profile that whitelists those entitlements. However, that fact doesn’t change the answer to your main question.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"