Hi Quinn,
Thanks for clarifying. By NotFound I meant SMAppServiceStatusNotFound, read from [SMAppService agentServiceWithPlistName:PLIST_NAME].status. The containing app was opened normally and only read that property. It didn’t call register or unregister, and it didn’t use the System Extensions framework. I couldn’t read the saved evidence file or verify the process exit, so the UI status is the only result I can report for that run.
For a correctly packaged but never-registered bundled LaunchAgent, would you expect NotRegistered rather than NotFound? Also, just to make sure I’m checking the right file: did you mean the BundleProgram key in the launchd plist under Contents/Library/LaunchAgents, or is there a separate requirement in the helper’s Info.plist?
Thank you,
Carl
Topic:
App & System Services
SubTopic:
Core OS
Tags: