I'm getting framework error in Xcode while I'll try to run my Flutter project in iOS device
Error (Xcode): Framework 'Reachability' not found
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Error launching application on iPhone 16 Pro.
System Configuration: Flutter SDK: 3.24.3 Xcode: 16.2 Device: iPhone 16 Pro (simulator) MacBook: M3 Chip (Apple Silicon)
What I've tried:
Cleaned and rebuild: I ran flutter clean
and flutter pub get
, then rebuilt the project, but the error persists. Pod Install: I also navigated to the iOS/ folder and ran pod install, but it didn’t resolve the issue.
For me it worked!
Xcode-->Runner-->Build Setting-->Search(OTHER_LDFLAGS)-->Other Linker Flags Clear all