Firebase CocoaPods Installation Not Working

后端 未结 9 2121
再見小時候
再見小時候 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:33

    I just doing following step to fix this error:

    $pod setup -- verbose
    

    Then do $pod install

    that works for me and my pod file is:

    source 'https://github.com/CocoaPods/Specs.git'
    platform :ios, '8.0'
    use_frameworks!
    
    target 'the-name-of-target' do
     pod 'Eureka', '~> 1.6'
    end
    

    UPDATE:

    Then you can remove your master and re-install cocoapods using following code:

    cd ~/.cocoapods/repos
    rm -rf master
    pod setup
    

提交回复
热议问题