Is it possible to open a communication channel from Safari app extension to XPC service on MAC?
I created Xcode project with Safari app extension and XPC service targets
I am setting up a connection to the XPC service from extension's message handler "messageReceivedWithName" using NSXPCConnection and got the below error.
Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named mySafariAppExtn1.XPCService was invalidated."
In the extension entitlements, added below keys
com.apple.security.network.client
com.apple.security.network.server
com.apple.security.temporary-exception.mach-lookup.global-name
Is there any other IPC mechanism by which I can do the same
Thanks