http://www.jianshu.com/p/b5607b8b9348git
http://www.jianshu.com/p/5ccde5f22a17github
1.在brew install carthage插件
2.若是以前安装过更新brew upgrade 更新全部brew上的插件it
3.而后进入工程目录建立Cartfile文件 vi Cartfile , 在文件里面写上github "" (须要GitHub上面开源库支持);编译
4.最后 carthage update 自动下载编译date