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

前端 未结 11 1385
小蘑菇
小蘑菇 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:25

    Maybe you should install Xcode 5.0.1 for Mavericks. Check updates.

    0 讨论(0)
  • 2020-12-13 00:29

    This worked for me, just paste in terminal: sudo xcode-select --switch /Library/Developer/CommandLineTools/

    0 讨论(0)
  • 2020-12-13 00:31
    xcode-select --install
    sudo xcode-select -switch /Library/Developer/CommandLineTools
    

    This did it for me.

    0 讨论(0)
  • 2020-12-13 00:32

    On MacOS Mojave this worked for me (git 2.21.0):

    xcode-select --install
    sudo xcode-select -switch /Library/Developer/CommandLineTools
    
    0 讨论(0)
  • 2020-12-13 00:32

    I hit this same issue running Fastlane on a fresh High Sierra installation. Solved with:

    sudo xcode-select --switch /Applications/Xcode.app
    
    0 讨论(0)
提交回复
热议问题