Home > Software engineering >  How do I remove Cocoapod pods from a Flutter project?
How do I remove Cocoapod pods from a Flutter project?

Time:08-16

I have a Flutter app that runs fine on Android devices. It has a Firebase Firestore backend.

Now, I want to build it on an iOS simulator, and so I need to initialize the Firebase iOS app. (I had only initialized the Android version before.) So I tried following the steps on firebase.com for setting up the iOS Firebase app using Cocoapods... but I think I did something wrong! More specifically, I believe the steps I followed were for adding Firebase to a native iOS app (in Objective C or similar), but when using Flutter, I'm supposed to let the Flutter framework do most of this work, rather than adding pods manually! (Here's a specific instruction for adding Firebase to a Flutter iOS project)

But before doing it right, I want to remove the pods that Cocoapods installed for me. Only I don't know how!

  • Related