Hi, haven’t touched my main project for a few weeks and in the meantime MacOS Sequoia updated itself to 15.0.1.
So today I open the project do an update for a customer. When I try to build and run, the IDE reports an error “A file system error (#1) occurred for “”<MyApp.debug.app>”" yada yada yada…"
Sure enough, the folder containing the source project has the previous build of “MyApp.debug.app” which the IDE has failed to delete. After manually deleting the file, the IDE will builds and rus, until the next time - ie I have to manually delete the .debug.app file EVERY TIME.
Looks like the IDE doesn’t clean up (ie delete the file) after the app quits normally.
It’s 100% reproducible (ie occurs every time).
It also occurs with the simple example projects from Xojo, no need for a demo.
OK discovered something. If the build file is created in a folder which is being mirrored to iCloud, the issue arises. NB my internet connection is fairly slow at 10MB/s.
Turn off the internet connection, the IDE works normally.
Change the IDE settings to save the temporary file somewhere which is not mirrored by iCloud drive, works normally.
Mac Studio M3 Max running Sonoma 15.0.1, Xojo 2024R3. (I always stay one rev behind).
iCloud took over my Documents folder about a week ago after I stupidly/accidentally clicked the ‘Sync Desktop & Documents folders’ checkbox in Finder Settings. It did what you said and refused to delete the old built app, but also made hundreds of my files invisible while it synced them.
And if you have turned it on, be prepared for a nightmare if you turn it off.
All your documents disappear - heart attack time.
You would then have to copy them from the iCloud area, and paste them back where you need them.