Error on “sudo pod install”

后端 未结 2 1972
有刺的猬
有刺的猬 2020-12-31 21:30

I already have one project working with a podfile.

I wanted to add a Podfile on an old project but I got this error on sudo pod install

Error:

相关标签:
2条回答
  • 2020-12-31 21:49

    If you're seeing an error like this, it might be because CocoaPods had to force-push their repo. They suggest:

    pod repo remove master
    pod setup
    
    0 讨论(0)
  • 2020-12-31 21:52

    From the command line run rm -rf ~/.cocoapods

    Then run pod install again. You shouldn't need the sudo.

    This look like it's caused because there was a change to a spec and it's conflicting with running a git pull

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