苹果电脑升级到el captain之后编译时出现missing xcrun解决办法

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

#!/bin/bash 

gem sources --remove https://rubygems.org/
gem sources -a https://ruby.taobao.org/
gem sources -l
sudo gem install cocoapods
xcode-select --install