Search code examples
flutterdartgoogle-cloud-firestorecocoapodsios14

flutter: running pod install takes forever while building in debug mode


Using iphone 11 iOS-14 device and simulator, I have deleted THE podfile and podlock of my flutter app and trying to rebuild the app in debug MODE, i am using the latest firebase dependencies including cloud_firestore: ^0.14.1 dependency then it gets stuck at pod install and is taking forever to finish, been more than half an hour.

I wonder if i should wait longer or is there something wrong with firebase dependencies?


Solution

  • Pod install is not stuck, when you delete Podfile.lock, pod install will redownload all pod dependencies, will take a long time, after finish, it will create a new Podfile.lock

    I have a project that have 20+ dependencies for flutter, firebase dependencies are the most complex ones