问题
I'm unable to install Firbase pod, when trying:
pod install
Analyzing dependencies
[!] Unable to find a specification for `Firebase`
Here is my podfile :
platform :ios, '9.0'
target 'login' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for login
pod 'Firebase'
pod 'Firebase/Auth'
end
回答1:
Maybe your pod isn't synced? Try:
pod repo update --verbose
回答2:
In my case the problem was with my local pod repo. I fixed by doing the following:
pod repo remove master
pod setup
pod install
回答3:
You could try pod 'Firebase/Core' Instead of just pod 'Firebase'. I had the same problem and it worked for me.
回答4:
Try below commands:
pod repo remove master
pod repo update
pod install --verbose
来源:https://stackoverflow.com/questions/37771407/unable-to-find-a-specification-for-firebase