I'm afraid the newest compatible iTerm2 is 3.0.15 from 2017 [1].
It's open source so it might be possible to build a newer version to be compatible, or to cherry pick certain newer features. It's not an app I use though.
1: https://iterm2.com/downloads/beta/iTerm2-3_0_15.zip