Firebase CocoaPods Installation Not Working

后端 未结 9 2095
再見小時候
再見小時候 2020-12-08 16:09

I\'m trying to install Firebase via CocoaPods for my Objective-C iOS Application. My Podfile is as follows:

target \'RandomName\' do

pod \'Firebase/Core\'
po         


        
相关标签:
9条回答
  • 2020-12-08 16:40

    I had the same error, and my solution was to downgrade Cocoapods to 1.0.0, because Cocoapods 1.0.1 didn't work as I expected. Everything works great now!

    • sudo gem uninstall cocoapods -v 1.0.1

    • sudo gem install cocoapods -v 1.0.0

    My Podfile:

    platform :ios, '8.0'
    
    target 'XXX' do
    
      pod 'Firebase/Auth'
      pod 'Firebase/Database'
    
    end
    
    0 讨论(0)
  • 2020-12-08 16:42

    The Same problem occurred while on pod install command.

    Please relaunch terminal and navigate to your Xcode project then

    simply fire same pod install command. 'Firebase/Database' will installed successfully :)

    0 讨论(0)
  • 2020-12-08 16:47

    Update Git and Cocoapods to the last version:

    Git: $ brew update && brew upgrade

    Cocoapods: $ pod repo update

    0 讨论(0)
提交回复
热议问题