Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CocoaPods Error to install/search pods

Tags:

cocoapods

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'

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

like image 647
Toni Albuquerque Avatar asked Jan 24 '14 21:01

Toni Albuquerque


2 Answers

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

rm -rf ~/.cocoapods
pod setup
pod install

Hope that helps! :)

like image 63
schellsan Avatar answered Oct 01 '22 23:10

schellsan


Looks like you need to run pod setup

Edit:

In theory if you're getting an error about the master repo you could add it manually run:

git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
like image 23
Keith Smiley Avatar answered Oct 02 '22 01:10

Keith Smiley