I’m not quite sure what I am doing incorrectly. I’m using Xojo 2026 R2 on macOS Tahoe 26.5.2.
As part of the Build step, I have a copyfile set up which creates two folders (one nested within the other) and then copies (at least it’s supposed to) the files from the source folder into those two folders.
When I run the application within the IDE, everything works just fine, however when I perform a final build and I run the app, the folders and files aren’t copied to the application build folder.
For grins, I went ahead and compiled for Windows and Ubuntu and the files copy just fine to their respect app build folders for those two operating systems.
CAVEAT - If you are ever using SpecialFolder with named folder Documents in Windows, be aware of a wrinkle with OneDrive – frustrated users delete the OneDrive folder instead of uninstalling it the correct way, and Xojo apps using the named directory will encounter a Nil error, so you need to have the app check for the existence of Documents and then redirect any Nil error process to opening a dialogue for users to manually select the correct folder, or use Resources as a backup directory for when Docs comes up Nil.
If only I could avoid Winspy 11, but sadly, I cannot because MOST of the software that I write is used within the Industrial Automation and Controls space where Windows, Windows Server, and Linux are the mainstay for those environments.