All works with this path. I can write and read files and my internal preset browser works also in GarageBand. loadFileAsString returns the text contained in the file.
When i pass exactly the same document folder and open the native FileChooser in GarageBand (it works in the standalone version). The file chooser returns a slightly different path after selecting the same file:
loadFileAsString always returns an empty string in this case for that path, but existsAsFile returns true. The file is 1Kb, so i don’t think it’s empty. I can imagine that it has something to do with sandboxing.
Would be great if someone can give me some information how this works. What happens here?
My new question is, how can i manage presets iOS? I want to use the same folder for the standalone and the Auv3 from inside garage band.
I just wonder if there is a way to configure this in projucer. I checked the app group in projucer, but didn’t found a way to enter the group identifier. Can this be done or do i have to set it manually always when i save the project with projucer?
Cool, I always forget on which platform RuntimePermissions is needed. Seems to be android then. I always add it just in case, maybe one day audio becomes usable on android. And it is cancelled out on iOS, so no harm.
Don’t know about app groups, I am following, hoping to use it later myself