SpecialFolder.ApplicationData

I have 2 macOs project and the same code don’t return the same result

Var f As FolderItem = SpecialFolder.ApplicationData.Child("myFolder") System.DebugLog("Application Folder " + f.URLPath)

In on hand I have the result

file:///Users/seb/Library/Application%20Support/myFolder/

In the other this one

file:///Users/seb/Library/Containers/fr.gorilladev.myApp/Data/Library/Application%20Support/fr.gorilladev.idocuments/

Any idea ?

The first app is not sandboxed and the second app is sandboxed. All sandboxed data is in user/Library/Containers

3 Likes

thank you @Beatrix_Willius do you where I set the sandbox option?

It isn’t part of Xojo, do you use AppWrapper? Otherwise you may have a post build script that is setting it?

Thank @Ian_Kennedy and @Beatrix_Willius you’re right one app is not sandboxed on AppWrapper

1 Like