Reputation: 467
I tried to add Firebase SDK to my iOS app through CocoaPods.
I followed https://cocoapods.org/pods/Firebase and $pod install
gave me this error:
Unable to find a specification for
Firebase
I followed some other pages people's suggestions like:
pod update Firebase --verbose
Or changing pod 'Firebase'
to pod 'Firebase', '>= 2.3.2'
in Podfile.
None of them worked. At the end I gave up and followed Manual Alternative https://www.firebase.com/docs/ios/alternate-setup.html.
I appreciate for help to resolve CocoaPods Method.
Upvotes: 0
Views: 3839
Reputation: 3751
As Mike McDonald said, I had to reset the repo to get it to work. Something I did had deleted all of the modules. I could see that the state was funny by running git status
in ~/.cocoapods/repos/master
.
This worked for me:
cd ~/.cocoapods/repos/master
git fetch
git reset --hard
Upvotes: 6