I'm trying to run my Flutter app on a real iPhone using flutter run but I keep getting this build error:
/Users/farahabutair/.pub-cache/.../image_picker_ios/messages.g.m:12:9:
error: 'Flutter/Flutter.h' file not found
It's coming from the image_picker_ios package, and it appears multiple times (e.g., messages.g.m, FLTIPImagePickerPlugin.m, etc.)
I tried to clean build and remove derived data and rerun but nothing is working. Flutter Doctor shows no major issues. What could possibly be wrong?
enter image description here [enter image description here](https://i.sstatic.net/gHKiZKIz.png) After updating cocoapods Output after Podfile lock
Podsfolder andPodfile.lock?