You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've recently integrated this plugin into my working Flutter project and attempted to build a preview for Android (which seems to work fine), and iOS which returned an error of the following:
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/flutterprojects/myapp/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'flutter_webview_plugin/FlutterWebviewPlugin.h' file not found
#import <flutter_webview_plugin/FlutterWebviewPlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
I could use some advice to know if the error I am seeing is by design on my part.
The text was updated successfully, but these errors were encountered:
john-compass
changed the title
Failed to build iOS app
Failed to build iOS app - 'flutter_webview_plugin/FlutterWebviewPlugin.h' file not found
Feb 26, 2018
The solution seems to be making sure that when you created the flutter project, you did not select the Swift iOS option. See this issue flutter/flutter#15152 for details.
Hi, I've recently integrated this plugin into my working Flutter project and attempted to build a preview for Android (which seems to work fine), and iOS which returned an error of the following:
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/flutterprojects/myapp/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'flutter_webview_plugin/FlutterWebviewPlugin.h' file not found
#import <flutter_webview_plugin/FlutterWebviewPlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
I could use some advice to know if the error I am seeing is by design on my part.
The text was updated successfully, but these errors were encountered: