CocoaPods安装/搜索Pod时出错 [英] CocoaPods Error to install/search pods

查看:82
本文介绍了CocoaPods安装/搜索Pod时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在项目中使用某些广告连播。但是终端的结果是:

I'm trying to use some pods in my project. But the terminal results in that:

$ pod install
Analyzing dependencies
[!] Unable to find a specification for `Mantle`.

因此,我尝试搜索广告连播或其他广告连播,对于尝试过的任何广告连播,结果是:

So, I tryed to search the pod or others and for any pod that I have tryed, the result is:

$ pod search Mantle
[!] Unable to find a pod with name matching `Mantle'

$ pod search LBBlurredImage
[!] Unable to find a pod with name matching `LBBlurredImage'

怎么了?! https://github.com/CocoaPods/Specs 具有所有吊舱...。

What is wrong?! The https://github.com/CocoaPods/Specs have all pods....

推荐答案

这也发生在我身上。不知何故,CocoaPods回购交易陷入困境。这解决了我的问题:

This just happened to me as well. Somehow the CocoaPods repo got borked. This fixed my situation:

rm -rf ~/.cocoapods
pod setup
pod install

希望有帮助! :)

这篇关于CocoaPods安装/搜索Pod时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆