If this has been covered somewhere already, my apologies, since I have not been able to find it.
I have plugin authorization code running on Mac and PC. For plugin authorization, I am using the Juce_Tracktion_Marketplace module, with a small amount of my own code to implement a trial period.
The environment is JUCE 4.1, Projucer, Mac Yosemite, XCode 7.2, 64bit builds.
The code works as expected on Windows for all formats, VST, VST3, and AAX.
On Mac, it works as expected for VST, VST3, and AU. However, I cannot load or save the authorization file in Pro Tools (12)!
The folder and file are created and read/write for Mac VST, VST3, and AU. But, in Pro Tools, it does not create the folder or file, and, of course, does not read/write.
String fileSpec = File::getSpecialLocation(File::userApplicationDataDirectory).getFullPathName() + "/Application Support/CompanyName/plugin.auth";
The file is just storing a String.
I'm stumped. I've tried everything I can think of, permission variations etc., but I cannot get it to work.
Is there some operating mode for Mac Pro Tools that requires specific permissions to read/write files and folders?
I sent an email to Avid, but I have not heard back from them yet.
Any guidance is most appreciated!
