cocoaPods pod install Permission denied

后端 未结 10 1300
时光说笑
时光说笑 2020-12-02 07:49

This is the short version:

When I run

pod install 

in an Xcode project I get

[!] Pod::Executable pull erro

10条回答
  •  长情又很酷
    2020-12-02 08:26

    Removing the directories worked for me:

    sudo rm -R  ~/Library/Caches/CocoaPods
    sudo rm -R  ~/.cocoapods/repos
    

    If some other problems still exist.

    Remove the Pods directory and the podFile.lock file.

    Cocoapods just adds the directories again.

提交回复
热议问题