当我尝试运行之前有效的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 /Applications/Xcode.app
但这并没有解决我的问题。为什么你的方法可以解决问题? - crisronxcode-select: error: invalid developer directory '/Library/Developer/CommandLineTools/'
的错误提示。 - Jason Liuxcode-select: error: invalid developer directory '/Library/Developer/CommandLineTools/'
的问题,对我来说解决办法就是从Appstore更新XCode应用程序。之后它开始正常工作了。 - lilline