I have relied on the call :
NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES);
to get to the ~/Library folder which I then present to the user using NSOpenPanel
Now suddenly, on macOS 11, the return path is to the library folder within the CONTAINER of the application.
I don't think this is correct. It suddenly changes the behaviour.
Trying to build the path starting from NSHomeDirectory() also does not work (again container).
If Apple does not want to fix this, what could be a work-around?
Thanks,
Alco Blom
NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES);
to get to the ~/Library folder which I then present to the user using NSOpenPanel
Now suddenly, on macOS 11, the return path is to the library folder within the CONTAINER of the application.
I don't think this is correct. It suddenly changes the behaviour.
Trying to build the path starting from NSHomeDirectory() also does not work (again container).
If Apple does not want to fix this, what could be a work-around?
Thanks,
Alco Blom