Failed to install CocoaPods ERROR: Failed to build gem native extension.

Using RubyGem to install CocoaPods may take a long time with no progress presentations.
But the program really does not die.

I followed the suggestion in issue 9.
Go to XCode, Preferences -> Downloads,download command line tools.
It works.

 
原文地址:https://www.cnblogs.com/yshch/p/3154319.html