cocoaPods pod install Permission denied

后端 未结 10 1304
时光说笑
时光说笑 2020-12-02 07:49

This is the short version:

When I run

pod install 

in an Xcode project I get

[!] Pod::Executable pull erro

10条回答
  •  情书的邮戳
    2020-12-02 08:36

    The issue is with Mac OS X's default installation of Ruby. The Ruby/Gems installation is owned by root in the location you specified.

    This is normal behavior unless you install a Ruby manager. I would recommend rbenv but RVM is popular as well.

    These installed your Ruby installation in your $HOME folder. This way your user owns the Ruby and gem executables.

提交回复
热议问题