Flutter build failed 'UserAgent.h' file not found

后端 未结 4 804
名媛妹妹
名媛妹妹 2021-02-14 02:30

Project cannot build or debug with firebase_crashlytics. In my mac I\'ve updated to Flutter latest but the machine we are deploying the app have lower version (Flutter 1.9.1 hot

4条回答
  •  误落风尘
    2021-02-14 03:00

    I was almost there, I think even if I clean the flutter and pod install will not clear everything. I just had to do below steps:

    • flutter clean
    • Delete Podfile.lock
    • cd ios
    • pod deintegrate // or you can do **cd ios/pod deintegrate** without above step
    • pod install

    If this still didnt work. Please close .xcworkspace and podfile.lock then do last two step again and open newly generated .xcworkspace and Product -> build.

    If not yet fixed please add a comment below (I have dealt lot of these problems).

    Check here are created issues for this: issue 1 with firestore and issue 2 with crashlytics.

提交回复
热议问题