xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
error: command 'gcc' failed with exit status 1
直接在终端执行
sudo xcode-select -switch /
问题解决!!!