1 Reply
      Latest reply on May 15, 2020 1:45 AM by eskimo
      galad87 Level 2 Level 2 (50 points)

        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.

        • Re: Sandboxed app and XPC security
          eskimo Apple Staff Apple Staff (13,945 points)

          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"