manpath: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'

manpath: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'

升级到新的MacOSCatalina后,打开iTerm2出现这个错误

MacBookPro 2015 Mid

macOS Catalina

Version 10.15

在我运行下面的命令之后,它起作用了。

xcode-select --install