https://developer.apple.com/library/archive/qa/qa1811/_index.html
this is old, i know. can those in the know shed some light on whether the bit about temp/cached location still correct:
i tried to write to temporary folder (obtained with NSTemporaryDirectory and also tried /tmp and /private/tmp) and cached folder (obtained with NSSearchPathForDirectoriesInDomains + cachesDirectory) but everything i tried resulted in permission errors.
this is old, i know. can those in the know shed some light on whether the bit about temp/cached location still correct:
Code Block An AudioServerPlugIn operates in a limited environment. ... Further, the host process is sandboxed. As such, an AudioServerPlugIn may only read files in its bundle in addition to the system libraries and frameworks. It may not access user documents or write to any filesystem locations other than the system's cache and temporary directories as derived through Apple API.
i tried to write to temporary folder (obtained with NSTemporaryDirectory and also tried /tmp and /private/tmp) and cached folder (obtained with NSSearchPathForDirectoriesInDomains + cachesDirectory) but everything i tried resulted in permission errors.