I am looking for a solution to transfer data between two completely separate processes (not from the same group). I did a lot of research, but the solutions were mostly for processes that are in a group. Is there a method? (It doesn't matter if the app is sandboxed, I can disable it). My goal is to communicate between a bundle(plugin) that is activated on the Mac login page and an XPC service and transfer data from the service to the bundle.
IPC between two processes
a bundle(plugin) that is activated on the Mac login page
You mean an authorisation plug-in, right?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
@eskimo Yes, Authorisation plug-in.
OK. In that case your XPC named endpoint must be run by a launchd
daemon. That advertises it in the global context, which is the only context visible to all the code in play. See Technote 2083 Daemons and Agents for more information about execution contexts.
You may be able to host your USB code within that daemon, which will significantly simplify your IPC architecture.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"