http://www.tuicool.com/articles/7VvuAr3
http://blog.csdn.net/gf771115/article/details/50403253(详细,用终端使用cocopods)