“pod init” giving error “-bash: pod: command not found”

前端 未结 6 1234
日久生厌
日久生厌 2021-02-05 04:40

I am trying to create a Podfile for my Xcode project for Firebase compatibility, but when I try to create it within the same file that my Xcode project is stored in, using my te

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-05 05:07

    Brew install

    $ brew install cocoapods      
    

    For me sudo gem install cocoapodsdid not work.
    When I tried $sudo gem install -n /usr/local/bin cocoapods it threw me weird error messages. But brew install was pretty neat.

提交回复
热议问题