解决missing xcrun的问题

macos更新后,在执行某些命令时,出现Xcode command line tools missing xcrun的问题 clang --verson xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 解决方法 重新安装Xcode-select命令 xcode-select --install 安装后便可以正常使用 clang --version Apple clang version 13.0.0 (clang-1300.0.27.3) Target: x86_64-apple-darwin21.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin 补充 xcode-select是什么? xcode-select is a command-line utility on OS X that facilitates switching between different sets of command line developer tools provided by Apple. Its primary function is to be a “master switch” for the actual paths resolved when invoking the commands for tools like make, xcodebuild, otool, etc....

一月 1, 2022

markdown学习文件

text delete ~~delete~~ delete italics *italics* command + i italics bold **bold** command + b bold italics + bold ***italics + bold*** italics + bold underline <u>underline</u> command + u underlinehighlight(extend) ==highlight== ==highlight== subscript h~2~o h~2~o superscript m^2^ m^3^ m^2^ m^3^ emoji :smile: :laughing: :dizzy_face: macos : control + command + space :smile::laughing::dizzy_face: table name | price | number --- | --- | --- //header fried chichen | 19 | 2 cola | 5 | 30 command + option + t name price number fried chichen 19 2 cola 5 30 for beauty : | name | price | number | | :--- | ---: | :---: | |fried chichen | 19 | 2 | |cola | 5 | 30 | name price number fried chichen 19 2 cola 5 30 quote >this is quote >>this is subquote command + option + q this is quote...

十月 30, 2019

第一篇文章

大家好👋🏻,这是我的博客的第一篇文章。 在今后,我会在我的博客上分享我的学习笔记、生活随笔,回顾自己的项目,记录自己的生活。 如果想了解我,可以点击侧边栏的“关于”。 如果我的文章对你有帮助,或者有任何疑问的地方,可以添加我的社交账号。

十月 20, 2019