I am developing stand alone app but facing problems with sandboxed app in save preset functionality.
I have set correct entitlements for the project and user can properly select file location. However Juce Library File class tries to create temporary file (with other file name, but same directory) when saving the preset. This fails (because of the security restrictions). Writing is only allowed to the file name user has given on the save dialog (this is my assumption).
replaceDataWithData fails (juce_StandaloneFilterWindow.h::askUserToSaveState)
if (! fc.getResult().replaceWithData (data.getData(), data.getSize()))
AlertWindow::showMessageBoxAsync (AlertWindow::WarningIcon,
TRANS("Error whilst saving"),
TRANS("Couldn't write to the specified file!"));
Does anyone have a workaround for this?