Pod file not being initialized?

后端 未结 9 825
说谎
说谎 2020-12-28 17:52

When i try to initialize pod file to use cocoapods via terminal, it gives me this error. How to fix it.

/Library/Ruby/Gems/2.0.0/gems/cocoapods-         


        
9条回答
  •  情歌与酒
    2020-12-28 18:23

    I encounter the same problem and solve it by using the following command:

    sudo xcode-select --switch /Applications/Xcode.app 
    

    As the error message in terminal shows, something with my git goes wrong. And, it has to do with the command line tool.

提交回复
热议问题