Thanks for the answer, Quinn.
Technically, it's not a hard requirement to install plists in /Library/Launch{Agent|Daemons} because
company issued macs are rarely shared
if they are, a second user can just install the app again
larger customers use a MDM solution anyway
Since you mention only the last one is going to be a challenge, I assume the others are smooth sailing? :)
Specifically, how would I establish XPC connection from the Action Extension and command line tool to our agent? I found another posts of yours where you suggest some magic ™️ bundle identifiers for the apps and xpc mach endpoint names. So I tried to prefix all my com.example.myapp bundle identifiers and xpc mach endpoint names with $(TeamIdentifierPrefix).com.example.myapp but that also didn't do the trick. As you explained in almost every XPC post, without launchd you are in for a lot of pain.
I do understand the security considerations and why every XPC endpoint must go through launchd, but for apps in an app group you already have the team identifier and code signatures.
Topic:
App & System Services
SubTopic:
Core OS
Tags: