Firebase CocoaPods Installation Not Working

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

    A couple of items to try. From your question, you did try the first two items, but leaving here for completeness of my answer.

    • The error response you get is helpful. Follow the steps for pod repo update

    • Make sure your pod is up to date.

      pwd> pod --version
      1.0.0
      
    • Make certain that your git is up to date. I had a build machine that had an outdated git (1.7), and I had the same exact error

    • -

    When I updated to this version from git 1.7 it worked fine.

    pwd> git --version
    git version 2.8.1
    
    • My Podfile for using Firebase Dynamic Links
    • run pod init from the folder where your .xcodeproj is
    • Be sure to only launch the .xcworkspace instead of the .xcodeproj from here out.
    platform :ios, '8.0'
    use_frameworks!
    
    target 'the-name-of-target' do
     pod 'Firebase/DynamicLinks'
    end
    

提交回复
热议问题