Error with Clion + Platformio plugin (macos Ventura 13.0.1)

Hello, here’s the gist of the error:
avr-g++: error: unrecognized command line option ‘-fcolor-diagnostics’
I understand that the error occurs due to the fact that in this version of the OS, the xcode command tools has been updated. But I can’t install the previous version, it says that the OS is too new for this. Maybe someone has options and suggestions on how to fix this? Or just wait for the release of a new version of the platformio?

I’ve had this error on intel macbook with Monterey after I upgraded CLion to 2022.3 – but it somehow disappeared and everything is ok now

anyway, jetbrains knows about this issue:

I understand, thanks, I’ll wait for the fix then