Unable to find a specification for `Firebase`

和自甴很熟 提交于 2019-12-10 13:15:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!