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

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

    I met this error when i run the command 'git clone xxx'

    dyld: Library not loaded: @rpath/libswiftCore.dylib Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild Reason: image not found git: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly! git: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch

    Then, run the command

    xcode-select -p
    

    pointing to /Applications/Xcode.app/Contents/Developer

    After run the command sudo xcode-select -switch /Library/Developer/CommandLineTools

    it points to /Library/Developer/CommandLineTools

提交回复
热议问题