Jimmyjbk
Jimmyjbk

Reputation: 411

How to run firebase in a flutter project iOS

I am new to firebase with flutter and I started very well but on the iPhone side after following all the steps and importing in the public.yaml

dependencies:
  flutter:
    sdk: flutter


  cupertino_icons: ^1.0.2
  animated_text_kit: ^4.2.1
  firebase_core: ^1.8.0
  firebase_auth: ^3.1.4
  cloud_firestore: ^2.5.4

I tried to run my app and it is taking hours on the Xcode build I do not know what to do

Upvotes: 0

Views: 147

Answers (1)

NewbieProgrammer
NewbieProgrammer

Reputation: 142

If it is taking too long or the app isn't even running. Please go to the ios file under project. In the IOS file go to the Podfile and uncomment the part:

platform : ios,'9.0'

or increase the target i.e '9.0' to the latest version

If that doesn't work replace the code in podfile enter image description here with this new code enter image description here

Tell me if that worked.

Upvotes: 1

Related Questions