美文网首页
pod install 提示Abort trap: 6

pod install 提示Abort trap: 6

作者: ANTI_JAM | 来源:发表于2017-02-22 11:51 被阅读77次

    当前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

    相关文章

      网友评论

          本文标题:pod install 提示Abort trap: 6

          本文链接:https://www.haomeiwen.com/subject/evapwttx.html