After enabling App Groups for the extension identifier, and disabling sandbox, XPC started to work
Sandbox prevented the app registering with the provider running in the system extension.
This code fails in the app with Sandbox enabled:
newConnection.remoteObjectProxyWithErrorHandler { error }
Do you have a guess on where the problem is for the sandbox?
I don't need these anymore, bu maybe the info would help:
I had a working app that used App Extensions, after switching to System Extension distributed notifications sent by the extension stopped being received by the app
Shared User Defaults also stopped working, but I see in the docs that they can work only between app <-> app extension, and app <-> app, not system extensions.
Topic:
App & System Services
SubTopic:
Networking
Tags: