0
votes

I have added following pods:

pod 'Firebase/Storage'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/Core'

and imported the sdk

import Firebase

but I am still getting the following error as mentioned in the screenshot: Error with firebase storage

can someone help me to solve the issue?

2
try importing Firebase Stroage as well.Arpit Jain
When i try to import it, it shows that with a crossed red line in options, I was not importing that before, but later I did, can you tell why do I see it crossed?Sabah

2 Answers

1
votes

Add pod 'Firebase/Messaging' to your Podfile

0
votes

Add the following import to your file:

import FirebaseStorage

it worked for me