Error: Your Xcode does not support macOS 11.2. It is either outdated or was modified. Please update your Xcode or delete it if no updates are available.
brew install telnet Updating Homebrew... Warning: You are using macOS 11.2. We do not provide support for this pre-release version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. You are responsible for resolving any issues you experience while you are running this pre-release version. ==> Downloading https://opensource.apple.com/tarballs/libtelnet/libtelnet-13.tar Already downloaded: /Users/zxs.zl/Library/Caches/Homebrew/downloads/4fe26613ac3f91bd2fa2ed4e9ca39a043c6fd5960c4e0a3f063c672911900665--libtelnet-13.tar.gz ==> Downloading https://opensource.apple.com/tarballs/remote_cmds/remote_cmds-63 Already downloaded: /Users/zxs.zl/Library/Caches/Homebrew/downloads/557d5b69c452e48e5337f6d80e827514cd2218e1c02dcd42f893bd2cafe7d141--remote_cmds-63.tar.gz Error: Your Xcode does not support macOS 11.2. It is either outdated or was modified. Please update your Xcode or delete it if no updates are available.
brew install telnet，最后把Xcode.app移动回来
sudo mv ./Applications/Xcode.app ~/Desktop brew install telnet sudo mv ~/Desktop/Xcode.app ./Applications