I've got a sandboxed app with a sandboxed XPC service. I've read the documentation, and if I understood correctly only my app can launch the XPC service, but it's not clear if other apps can connect to the XPC service or if the app sandbox is enough to prevent other apps from connecting to my XPC service.
To quote the
xpcservice.plist
man page:
Services embedded in an application bundle will only be visible to thecontaining application
Oh, and just to be clear, this is true regardless of whether you have the App Sandbox enabled or not.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"