(Updated)
See replies below.
(Updated)
See replies below.
Updated
(See reply below.)
Follow-up 2:
Oh, interesting! If you create a new XPC target in Xcode and opt for the "libXML" option, then the template that is generated shows how to pair xpc_session
with xpc_listener
.
Kudos to whoever at Apple was responsible for that...