博主今天在mac上执行
brew install nginx-full --with-rtmp-module
安装nginx,怎么调试都无法安装成功,一直提示xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools. See `man xcode-select` for more details.
查阅资料发现问题所在
sudo xcode-select -r
xcode-select --switch /Library/Developer/CommandLineTools
xcode-select -p
sudo nginx -s stop
sudo nginx -s reload