Unable to find a specification in CocoaPods

后端 未结 17 2490
醉酒成梦
醉酒成梦 2020-12-07 15:31

I cannot understand why the Cocoapod is unable to find the pod specification I created when I run pod install. Could someone help me solve this trouble?

17条回答
  •  时光取名叫无心
    2020-12-07 16:01

    I suppose that there is a problem with your pod master repo. Delete it and download it again.

    You can do:

    pod repo remove master
    pod setup
    pod install
    

    Or:

    sudo rm -fr ~/.cocoapods/repos/master
    pod setup
    pod install
    

提交回复
热议问题