.ApplicationData should work
.Applications, should not work … you need elevated permissions to write there
.CurrentWorkingDirectory should not work … you need elevated permissions to write there because it is normally ‘Applications’
.Resources should not work - this is read-only to you
.Temporary should work
Maybe it’s a bug in Xojo. According to the documentation, the ApplicationData path is: /Users/UserName/Library/Application Support
But in reality, on High Sierra at least, the Application Support folder is not in that path. It’s not in the Users directory. It’s in:
Macintosh HD/Library/Application Support
No. Thats not the folder to which you are writing. Select go to folder… from the menu then type ~library/ and click go. Look in that ApplicationData folder and Ill bet you see your files