Thanks for your code!
In the meantime I found a simpler solution. I just added the following lines to your pre-build script:
theCommand = "rm -rf [PATH TO MY XOJO FILES]/Builds\ -\ " + PropertyValue("App.MacOSXAppName") + _ ".xojo_binary_project/OS\ X\ 64\ bit/" + PropertyValue("App.MacOSXAppName") + ".app" theResult = DoShellCommand(theCommand) If theResult <> "" Then Print theResult
That's all I need for now. My code didn't work at first because I forgot to escape the whitespaces, but now I can work with Xojo as usual again…