当前pod版本:1.0.1
提示Abort trap: 6
1.搜到一个解决办法:http://stackoverflow.com/questions/39980096/xcode8-cocoapods-abort-trap6
sudo gem uninstall cocoapods
sudo gem install cocoapods --pre
Hopefully this will solve your problem.
Update
CocoaPods has released version 1.2.0, so you can now install using
sudo gem install cocoapods
2.在执行sudo gem install cocoapods --pre时提示
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/xcodeproj
3.找到一个2的解决办法:http://stackoverflow.com/questions/30812777/cannot-install-cocoa-pods-after-uninstalling-results-in-error/30851030#30851030
sudo gem install -n /usr/local/bin cocoapods
网友评论