Does Firebase still support Mac OS X - July 2016

前端 未结 2 1374
猫巷女王i
猫巷女王i 2021-01-07 22:00

I have an iOS App that uses the Firebase Realtime Database that I would like to create for Mac OS X. Does Firebase still support Mac OS X in the latest update as the Firebas

2条回答
  •  青春惊慌失措
    2021-01-07 22:51

    As Paul said, you have to follow the instructions to get the pods right from the GitHub repository.

    I added these lines to my Podfile

    pod 'FirebaseCore', :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
    pod 'FirebaseStorage', :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
    

    Then on the AppDelegate

    import FirebaseCore

    func applicationDidFinishLaunching(_ aNotification: Notification) {
            FirebaseApp.configure()
    }
    

    Hope this helps!

提交回复
热议问题