开发者社区> 问答> 正文

安装cocoPods出现unable to find utility "git", not a developer tool or in PATH

在mac pro上安装cocoPods时 sudo gem install cocoapods
成功,用CocoaPods的搜索功能验证一下。在终端中输入: $ pod search AFNetworking

出现错误信息:

Setting up CocoaPods master repo
[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --depth=1

sh: line 1: 97132 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk / -find git 2> /dev/null
git: error: unable to find utility "git", not a developer tool or in PATH

展开
收起
杨冬芳 2016-06-27 14:59:13 7074 0
2 条回答
写回答
取消 提交回答
问答分类:
问答标签:
问答地址:
相关产品:
问答排行榜
最热
最新

相关电子书

更多
新一代高效Git协同模型 立即下载
AGit-Flow:新一代高效Git协同模型 立即下载
AGit-flow:新一代高效Git协同模型 立即下载

相关实验场景

更多