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

前端 未结 6 1228
日久生厌
日久生厌 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:50

    Looks like you didn't install CocoaPods.

    To do that you install it through ruby gems, like this:

    sudo gem install cocoapods
    

    If you don't have admin privileges, try:

    gem install cocoapods --user-install
    

提交回复
热议问题