git error “unable to locate xcodebuild” after a fresh OS X Mavericks upgrade

前端 未结 11 1418
小蘑菇
小蘑菇 2020-12-12 23:58

When I try to run previously working git commands, I get this:

dyld: Symbol not found: _sqlite3_intarray_bind
  Referenced from: /System/Library/Frameworks/C         


        
11条回答
  •  臣服心动
    2020-12-13 00:09

    After a much googling and confusion, the following steps lead to a solution (with Xcode installed). Some might be optional, so please feel free to elaborate on this as I am not an expert on these errors.

    • download mavericks command line tools https://developer.apple.com/downloads/
    • xcode-select --install
    • sudo xcode-select -switch /Library/Developer/CommandLineTools
    • brew install sqlite3
    • commented out DYLD_LIBRARY_PATH entry in my .bashrc file

提交回复
热议问题