首页 > 代码库 > CocoaPods 错误解决--Attempt to read non existent folder

CocoaPods 错误解决--Attempt to read non existent folder

最近练习AutoLayout的时候用到UIView+AutoLayout 第三方 于是给项目上了CocoaPods 但是报了一下错误

"Attempt to read non existent folder ";

如下图;

网上搜索解决办法,

在终端输入:sudo -- sh -c "echo ‘117.18.237.29   ocsp.digicert.com‘ >> /etc/hosts"  ;

完美解决

CocoaPods 错误解决--Attempt to read non existent folder