8000 fatal error: 'Flutter/Flutter.h' file not found · Issue #413 · flutter/gallery · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.
This repository was archived by the owner on Jun 13, 2024. It is now read-only.
fatal error: 'Flutter/Flutter.h' file not found #413
Closed
@mfch101

Description

@mfch101

I worked on MacOS, with the IDE of vscode, and I want build the code running on ios emulator of IPhone 11 Pro Max.
I have Execute the commands :
`lutter channel master
flutter upgrade

flutter channel stable
flutter upgrade`
flutter config --enable-ios
flutter create .

and then ,I execute the command :
flutter run

but it failed , the results are as follow:

To see a detailed report, use the --untranslated-messages-file
option in the tool to generate a JSON format file containing
all messages that need to be translated.
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running Xcode build...
Xcode build done. 1.7s
**Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **

Xcode's output:

In file included from /Users/mfch/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider-1.6.27/ios/Classes/FLTPathProviderPlugin.m:5:
/Users/mfch/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider-1.6.27/ios/Classes/FLTPathProviderPlugin.h:5:9: fatal error: 'Flutter/Flutter.h'
file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /Users/mfch/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_info-0.4.3+2/ios/Classes/FLTPackageInfoPlugin.m:5:
/Users/mfch/flutter/.pub-cache/hosted/pub.flutter-io.cn/package_info-0.4.3+2/ios/Classes/FLTPackageInfoPlugin.h:5:9: fatal error: 'Flutter/Flutter.h'
file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description**

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone< 3021 /h3>

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0