I can not install any brew packages on my mac with the following error info.
Installed on my Mac:
After installing Xcode 10 Beta and Command Line Tools (macOS 10.14) for Xcode 10 Beta, I also changed the path for xcode-select to use the newly installed command line tools with:
sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer