Carthage安装又一坑

build报错,报什么没找到xxx/xx/carthage/xxx目录,好吧, 那就安装carthage吧。

brew install carthage

#结果报错

Warning: You are using OS X 10.13.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
carthage: A full installation of Xcode.app 6.3 is required to compile this software.
Installing just the Command Line Tools is not sufficient.
Xcode can be installed from the App Store.
Error: An unsatisfied requirement failed this build.

#行吧,那就更新brew

brew update

#又报错
HEAD is now at cfe6b67 burp: update 1.4.28 bottle.
Error: Failure while executing: git pull --quiet origin refs/heads/master:refs/remotes/origin/master

#解决办法:

 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null


brew install carthage

#成功

参考:

http://macappstore.org/carthage/

发表评论

电子邮件地址不会被公开。 必填项已用*标注