I'm trying to build a flutter project from Xcode Version 12.4 for a iPhone 12 Simulator with iOS 14.4.
Everything works fine from command line by running flutter run.
In Xcode I met the following error code.
ld: warning: ignoring file /Users/epsilon/Library/Developer/Xcode/DerivedData/Runner-fukggautraualohaflrpmsjaeyto/Build/Products/Debug-iphonesimulator/Reachability/Reachability.framework/Reachability, building for iOS Simulator-x86_64 but attempting to link with file built for iOS Simulator-arm64
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_Reachability", referenced from:
      objc-class-ref in FLTConnectivityPlugin.o
  "_kReachabilityChangedNotification", referenced from:
      -[FLTConnectivityPlugin onListenWithArguments:eventSink:] in FLTConnectivityPlugin.o
ld: symbol(s) not found for architecture x86_64
I already followed the solution posted here: https://stackoverflow.com/a/63955114/8640235 and also others from the same post, but without success.

 
     
    