-
Notifications
You must be signed in to change notification settings - Fork 28.6k
Internet connected or not #16621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please add the output of |
flutter doctor -v [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) [✓] iOS toolchain - develop for iOS devices (Xcode 9.3) [✓] Android Studio (version 3.1) [✓] IntelliJ IDEA Ultimate Edition (version 2018.1.1) [✓] Connected devices (1 available) • No issues found! |
I am having the same issue, Have you found a solution? |
NO solution |
Please try |
I am facing this issue when I try to install on iphone simulator. fatal error: 'connectivity/ConnectivityPlugin.h' file not found |
Try running |
Cosing as dup of #18673 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
but how to know the network is connected to the Internet or not?
is there any code to solve this issue.
2)when i use Connectivity plugin it shows error-
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
=== 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 <connectivity/ConnectivityPlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone X.
How to fit it?
The text was updated successfully, but these errors were encountered: