@"Hugo";

cocoapods 报错

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours:

https://github.com/CocoaPods/CocoaPods/search?q=No+such+file+or+directory+-+%2FUsers%2Fquan%2FDesktop%2F%E8%AF%BE%E5%A0%82%E6%96%87%E4%BB%B6%E4%B8%8B%E8%BD%BD%2F8+-+%E7%BD%91%E6%98%93%E6%96%B0%E9%97%BB%2F%E4%BB%A3%E7%A0%81%2F02-04%E7%BD%91%E6%98%93%E6%96%B0%E9%97%BB%EF%BC%88%E8%BD%AE%E6%92%AD%E5%99%A8%EF%BC%89%2FPods%2FHeaders%2FPrivate%2FAFNetworking%2FAFHTTPRequestOperation.h&type=Issues

If none exists, create a ticket, with the template displayed above, on:

https://github.com/CocoaPods/CocoaPods/issues/new 

Be sure to first read the contributing guide for details on how to properly submit a ticket:

https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

Don‘t forget to anonymize any private data!

//报错环境:编译前段时间使用CocoaPods管理的一个工程,发现报错说找不到第三方框架,纳尼!于是果断更新下,报了一个更让我莫名其妙的错,折腾了近2个小时后,网上的各种方法已经试遍了..最后忘记在哪看到的,说是CocoaPods的版本兼容问题,目前版本在Github上找不到仓库地址,后来查看了下当时项目的版本号是(0.38.1),而现在版本号是(0.38.2)

解决方法:

$ sudo gem uninstall cocoapods   (卸载当前的CocoaPods)

$ sudo gem install cocoapods -v 0.38.1  (安装0.38.1版本的CocoaPods)

然后编译通过~


 
评论
DUC-iOS程序,总结一些自己用过的小方法和看过的一些好文章.
© @"Hugo"; | Powered by LOFTER