git错误“无法找到xcodebuild”在新的OS X Mavericks升级之后 [英] git error "unable to locate xcodebuild" after a fresh OS X Mavericks upgrade

查看:3715
本文介绍了git错误“无法找到xcodebuild”在新的OS X Mavericks升级之后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  dyld:找不到符号:_sqlite3_intarray_bind 
引用自:/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
预计位置:/opt/local/lib/libsqlite3.dylib
in / System / Library / Frameworks / CoreData.framework / Versions / A / CoreData
git:error:无法找到xcodebuild,请确保Xcode文件夹的路径设置正确!
git:error:您可以使用/ usr / bin / xcode-select -switch


来设置Xcode文件夹的路径

如何解决这个问题?

解决方案

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


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

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

How can I fix this?

解决方案

This works for me sudo xcode-select --switch /Library/Developer/CommandLineTools/

这篇关于git错误“无法找到xcodebuild”在新的OS X Mavericks升级之后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆