pod setup报错解决

如果pod setup时报error: RPC failed; curl 18 transfer closed with outstanding read data remaining
可以用这行命令代替git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master
如果出现这个错误destination path '/Users/macbook/.cocoapods/repos/master' already exists and is not an empty directory.复制目录然后删除这个目录再运行那个命令,就可以解决 pod setup error的问题

你可能感兴趣的:(pod setup报错解决)