Pub-dev: 'connectivity/ConnectivityPlugin.h' file not found

Created on 16 Apr 2018  路  4Comments  路  Source: dart-lang/pub-dev

=== 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.

All 4 comments

@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.

I change this files

pubspec.yaml -> connectivity: 0.4.4+1
Podfile -> platform :ios, '9.0'

flutter clean
flutter run
Was this page helpful?
0 / 5 - 0 ratings