=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/Users/prashant/IdeaProjects/job_posting/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'connectivity/ConnectivityPlugin.h' file not found
#import
^~~~~~~~~~~
1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone X.
@prasant10050 This repository is for the pub.dartlang.org site. For package-specific issues, please use the package's repository, e.g. if you are using the connectivity package, please use the Flutter repository to file a bug: https://github.com/flutter/flutter/issues/new
How to fix this error.
My solution:
https://github.com/flutter/flutter/issues/21989#issuecomment-509193686
I change this files
pubspec.yaml -> connectivity: 0.4.4+1
Podfile -> platform :ios, '9.0'
flutter clean
flutter run