Hello,
I've tried following this thread: https://developer.apple.com/forums/thread/134013 for getting my network extension to communicate via XPC with the daemon, but I keep getting this error:
from Console.app
Sandbox: "App name"(57277) deny(1) mach-lookup "bundle id"
I can see that the daemon is running and when I try setting up the listener for it, it doesn't actually call the delegate function, func listener(_ listener: NSXPCListener, shouldAcceptNewConnection newConnection: NSXPCConnection) which causes the connection in the network extension as well the host app to not be able to actually communicate with the daemon.
Any ideas on how to fix it? Thanks