6 Replies
      Latest reply on Jul 10, 2019 5:12 PM by tonyarnold
      tonyarnold Level 1 Level 1 (0 points)

        I'm in the process of enabling sandboxing, and the hardened runtime for my app, and I'm trying to share some files written my a group container shared by my main application, and an XPC service that it bundles.

         

        Unfortunately, any files or directories I create in the group container have com.apple.quarantine set on them.

         

        It doesn't seem to matter if I use NSFileManager API to create folders/files, or use an external tool like /usr/bin/ditto.

         

        Is there any way to prevent this?