4

I installed CocoaPods on a new machine.

My podfile file is just like this :

platform :ios, '6.0'
pod 'MBProgressHUD', '~> 0.8'

But when I run pod install

Unable to find a specification for `MBProgressHUD (= 0.8)`.

I tried reinstalling CocoaPods, but didn't help.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
  • possible duplicate of [Error on pod install](http://stackoverflow.com/questions/18224627/error-on-pod-install) – Kreiri Apr 11 '14 at 16:24
  • 2
    Have you tried to remove the pod spec repo? `pod repo remove master` and then do a `pod setup` again? I think the repo could be corrupted and reinstalling does not necessarily remove the repo. – dibi Apr 11 '14 at 16:26
  • @DanielBecker Yes, I did, no success. – AVEbrahimi Apr 11 '14 at 16:29
  • Hi , Did you get this issue resolved? I am facing the same . – WannaBeGeek Jul 02 '15 at 09:31

1 Answers1

0

Try this:

xcode-select --switch /applications/Xcode.app  
pod setup
pod install

Cocoapods - Unable to find a Specification for [Github framework]

Community
  • 1
  • 1
Nahash
  • 320
  • 4
  • 12