iOS CocoaPods command path could not be resolved错误

升级系统后 爆出如下错误

The command path could not be resolved

iOS CocoaPods command path could not be resolved错误_第1张图片
Xcode 截图
iOS CocoaPods command path could not be resolved错误_第2张图片
错误截图

解决方法

终端中输入

sudo gem install -n /usr/local/bin cocoapods

感谢stack overflow大牛

原文地址

http://stackoverflow.com/questions/32934911/cocoapods-doesnt-work-after-upgrading-mac-os-x-ei-capitain

iOS CocoaPods command path could not be resolved错误_第3张图片
stackoverflow截图

你可能感兴趣的:(iOS CocoaPods command path could not be resolved错误)