Debug-Folder isn't delete automatically since Sierra?

I’m using Xojo 2016.3. Since the update to macOS Sierra, my Xojo doesn’t delete the debug Folder.
Every time I press the Play Button in the Xojo WebEdition, I had to delete the debug folder in the finder.

Is this a new bug with Xojo and Sierra?

I have the pro version of Xojo, can I use a script or something to delete the old debug files before the compiling starts?

This is indeed a bug I see especially in web apps.


After quitting the desktop app, the debug folder is not deleted 100% reproducibly!
The following file is still available:

macOS Sierra 10.12.6
Xojo 2017 Release 1.1

I should say that the bug did start before Sierra. It has been a random bug around much before.

Well, if a system process does Index files for spotlight while deleting, the delete may fail.

You could make a feature request, that Xojo moves folder to trash in that case or tries delete again after a second.

Supplement to my contribution:
Before upgrading to Sierra, that means OS X El Capitan 10.11.6, the Xojo IDE could always delete the debug app

Any fix or workaround about this? The problem is still alive in High Sierra too…