升级 Mac Os,现在 Clion 不工作 问我配置路径不正确

Upgrading Mac Os, now Clion is not working ask to me configuration path is not correct

请帮忙解决这个问题 Mac 版本:MacOS Sierra 10.12.1 cLion:版本 1.1

Error:The C compiler "/usr/bin/cc" is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/macbook/Library/Caches/clion11/cmake/generated/8cb5a468/8cb5a468/default/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_be548/fast" xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun CMake will not be able to correctly generate this project.

似乎与 OS 更新后需要更新命令行工具这一事实有关。检查 .

中的解决方案