After upgrade to the new Mac OS Catalina, this error happens when I open the iTerm2.
MacBookPro 2015 Mid macOS Catalina Version 10.15
MacBookPro 2015 Mid
macOS Catalina
Version 10.15
After I run the following command, it works.
xcode-select --install