cocoaPods

由于Mac 10.11更改了安全机制,所以cocoapods得安装和卸载命令也有所改变,
1、如果之前装过cocopods,最好先卸载掉,卸载命令:
$ sudo gem uninstall cocoapods【Mac 10.10之前】
$ sudo gem install cocoapods 【Mac 10.11之后】




cd ~/.cocoapods/repos
git clone https://github.com/CocoaPods/Specs.git master
【cocoaPods】pod repo remove trunk移除trunk源

    推荐阅读