Firebase Undefined symbols for architecture x86_64

后端 未结 17 1646
慢半拍i
慢半拍i 2020-12-03 10:07

I am using firebase as part of a project I am working on in iOS, and I just stumbled upon the following linking error when I try to compile my code against an iPhone 6 or 7

17条回答
  •  鱼传尺愫
    2020-12-03 10:29

    I encountered this issue before, It looks like you need to:

    rm -rf ios/Podfile ios/Podfile.lock ios/Pods ios/Runner.xcworkspace

    and then run flutter run

    Source: https://github.com/flutter/flutter/issues/41900

    UPDATE: run this fix the issue too: rm -f ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings

提交回复
热议问题