Recent problem with dfu-suffix or libusb on Mac in VS Code

I’m compiling https://github.com/dresco/STM32H7xx on an Apple Silicon Mac, MacOS Sequoia 15.0.1.

With upload_protocol = dfu in the configuration the build step Adding dfu suffix to firmware.bin fails with dyld[92864]: Library not loaded and a list of possible, (but incorrect) paths to libusb-1.0.0.dylib.

It doesn’t seem to be looking in ~/.platformio/packages/tool-dfuutil/ which gets created on opening the configuration.

Has anyone found this recently?

It’s completing this step of the build again now