xcode - Sandboxed Mac OS App, saving files in a shared location? -
have sandboxed mac app. downloads files location, , want other files able edit , overwrite files.
currently, i'm saving documents container via app:
let path = manager.urlsfordirectory(nssearchpathdirectory.documentdirectory, indomains: nssearchpathdomainmask.userdomainmask).first!
i modifying via preview , saving file.
in osx 10.11 el capitan, fine. however, on mac os 10.12 sierra beta when user attempts save, warning: "the original document can't changed, duplicate changes has been created."
the same problem occurs when saving application support.
of course, make sense in many use cases sandboxed apps won't want other apps touching content. though there shared space in sandboxed apps can allow other apps modify contents?
Comments
Post a Comment