当我尝试运行以前可以使用的git命令时,得到以下信息:

dyld: Symbol not found: _sqlite3_intarray_bind
  Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
  Expected in: /opt/local/lib/libsqlite3.dylib
 in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
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

我怎样才能解决这个问题?

最佳答案

这对我有用sudo xcode-select --switch /Library/Developer/CommandLineTools/

10-08 11:31