It does not generate code for recent STM32 uPs unless you grab some capability from Cube using a process described by ST employee Mattias Norlander. You may have to do a search on this forum to find the process.
That being said, TS 9.3.0 worked well for me on both Windows and Ubuntu until I decided to switch to newer processors.