CocoaPods - pod setup Failed: /usr/bin/git checkout master

后端 未结 1 583
猫巷女王i
猫巷女王i 2020-12-16 13:13

After I run $sudo gem install cocoapods and then $pod setup, there is an error. Please help me to fix it.

[!] Pod::Executable pull
         


        
相关标签:
1条回答
  • 2020-12-16 13:45

    Looks like you have an edited spec that's messing with the git repo. The easiest way to fix this would be to delete the local copy of the specs repo. From terminal:

    rm -rf ~/.cocoapods; pod setup
    

    EDIT:

    Today (1/30/14) there was an issue with the specs repo that may make you want to fix this. Read more about it on the CocoaPods Blog

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