pod install -bash: pod: command not found

后端 未结 21 2750
野的像风
野的像风 2020-11-28 19:06

I installed pod some time ago. However, it\'s stopped working so I\'m working through this again.

However, I almost immediately run into a problem here:

相关标签:
21条回答
  • 2020-11-28 20:03

    it happens to me when I wrote

    gem install cocoapods

    instead of

    sudo gem install cocoapods

    if sudo command is not found also, write

    export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH

    before sudo command

    0 讨论(0)
  • 2020-11-28 20:04

    Install pod sudo gem install cocoapods

    Navigate inside platforms/ios cd platforms/ios

    Run pod install

    0 讨论(0)
  • 2020-11-28 20:05

    We were using an incompatible version of Ruby inside of Terminal (Mac), but once we used RVM to switch to Ruby 2.1.2, Cocoapods came back.

    0 讨论(0)
提交回复
热议问题