Xcode 8 cocoapods abort trap: 6

前端 未结 17 672
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-13 12:01
localhost:PodTest3 haiwang$ pod install
Analyzing dependencies
Downloading dependencies
Installing MBProgressHUD (0.9.2)
Installing Masonry (1.0.2)
Generating Pods p         


        
17条回答
  •  半阙折子戏
    2020-12-13 12:35

    This is the perfect solution when you are receiving the "Operation not permitted" error or xcode8 cocoapods abort trap:6.

    Custom GEM_HOME

    $ mkdir -p $HOME/Software/ruby
    $ export GEM_HOME=$HOME/Software/ruby
    $ gem install cocoapods
    [...]
    1 gem installed
    $ export PATH=$PATH:$HOME/Software/ruby/bin
    $ pod --version
    1.1.1
    

提交回复
热议问题