Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to find a specification for `AFNetworking (~> 2.1.0)`

am on a rubymotion project

have required afmotion in rake file, gem file and bundle installed. I get the above error when I try to run rake pod:install.

Any ideas? Thanks in advance.

like image 673
Sherwyn Goh Avatar asked Feb 14 '14 04:02

Sherwyn Goh


1 Answers

Make sure you have the cocoapods gem installed, then run pod setup
If for some reason that doesn't solve the problem, remove the cocoapods directory entirely with
rm -rf ~/.cocoapods and try to pod setup again.

like image 175
andi Avatar answered Nov 15 '22 23:11

andi