I am using Xcode to build an old code and specify SDKROOT=/Developer/SDKs/MacOSX\"${HOST_VERSION}\".sdk/
SDKROOT=/Developer/SDKs/MacOSX\"${HOST_VERSION}\".sdk/
I want to specify SDKROOT for latest SDK that comes
CommandLineTools was outdated, reinstalling Command Line Tools fixed the issue:
xcode-select --install