【发布时间】:2021-04-07 02:58:26
【问题描述】:
请帮帮我!我不知道那是什么问题,但我认为是因为我更新到最新版本的颤振。 我试过了,flutter clean,rm podfile,还有更多!!但我无法解决这个问题,是颤振的问题吗? 我有两天尝试修复它,但我没有成功。
*我更新了我所有的豆荚,我都做了!但我不能做那个工作..(颤抖医生没关系) 我的颤振版本是 **我也在稳定的频道中尝试过,但没有成功。
Flutter 1.26.0-2.0.pre.157 • channel master • https://github.com/flutter/flutter.git
Framework • revision 4b83be6c23 (9 hours ago) • 2020-12-30 02:09:03 -0500
Engine • revision 0e5a25d779
Tools • Dart 2.12.0 (build 2.12.0-179.0.dev)
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
In file included from /Users/victormanuellagunas/Documents/development/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/ios/Classes/JavaScriptChannelHandler.m:5:
/Users/victormanuellagunas/Documents/development/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/ios/Classes/JavaScriptChannelHandler.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
【问题讨论】:
-
尝试“flutter clean”,然后尝试“flutter channel stable”(或 dev)。如果这不起作用,那么您应该尝试“webview_flutter-1.0.6”
标签: flutter