Failed to install command line tools on OSX Mavericks

后端 未结 8 1020
被撕碎了的回忆
被撕碎了的回忆 2020-12-13 08:39

I tried to install the command line tools on Mavericks following the steps in this very useful post

> xcode-select --install

but after a

8条回答
  •  無奈伤痛
    2020-12-13 09:14

    I had this problem for months and finally found the solution.

    The problem was: I had installed it before and removed it manually. (I had problems with the bundled git. It was not the smartest move to do this.)

    What i didn't remove were the files

    /var/db/receipts/com.apple.pkg.CLTools_Executables.bom
    /var/db/receipts/com.apple.pkg.CLTools_Executables.plist
    

    Delete them, run xcode-select --install -> no error anymore

    At least it worked for me. Hope it is helpful for somebody.

提交回复
热议问题