podfile gives an error on install

前端 未结 3 1100
南旧
南旧 2020-12-04 08:25

I cloned a repo from git. Then removed the .git and .gitignore. The podFile looks like

platform :ios, \'6.1\'

pod \'AFNetworking\', \'~>1.3.3\'
pod \'AFO         


        
3条回答
  •  一个人的身影
    2020-12-04 08:49

    As Kirualex worte,you'll find the correct solution on http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/

    Short, do the following:

    $ pod repo remove master
    $ pod setup
    

    You could of course also remove the master as described by the others.

提交回复
热议问题