Undefined symbols for architecture x86_64 flutter

Probably the error is on some of the XCode project files, try:

  1. Make a backup of your project.
  2. Run this command

    flutter clean && \ rm ios/Podfile ios/Podfile.lock pubspec.lock && \ rm -rf ios/Pods ios/Runner.xcworkspace && \ flutter run

Reference


In mac with m1 chip I was not able to run my project in the simulator, instead I had to use a physical iPhone connected and it does not show errors, it runs fine.