-
Notifications
You must be signed in to change notification settings - Fork 941
Description
With flutter_webview_plugin: ^0.1.5 && latest Flutter update, I got the following error
Failed to build iOS app
Could not build the application for the simulator.
Error output from Xcode build:
Error launching application on iPhone X.
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET flutter_webview_plugin OF PROJECT Pods WITH CONFIGURATION Debug ===
In file included from /Users/app/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.1.5/ios/Classes/FlutterWebviewPlugin.m:1:
/Users/app/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.1.5/ios/Classes/FlutterWebviewPlugin.h:1:9: fatal error: 'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
APPs-MacBook-Pro:ios app$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.4.5-pre.37, on Mac OS X 10.12.6 16G1212, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[✓] Android Studio (version 3.0)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] IntelliJ IDEA Community Edition (version 2017.3.5)
[✓] Connected devices (1 available)
• No issues found!