Mac升級後提示:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解決方法:
重新安裝xcrun,命令行輸入:
xcode-select --install
Mac升級後提示:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解決方法:
重新安裝xcrun,命令行輸入:
xcode-select --install
https://stackoverflow.com/questions/419163/what-does-if-name-main-do