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

前端 未结 6 1219
日久生厌
日久生厌 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 04:45

    if the 1st command doesn't work, try the 2nd command

    sudo gem install cocoapods
    
    sudo gem install -n /usr/local/bin cocoapods
    

    In my case, the 2nd command worked

提交回复
热议问题