-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
With android emulator i have no problems, but with ios emulator, if i try to start my app i receive this error:
Launching lib/main.dart on iPhone 6s in debug mode...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
In file included from /Users/luca/.pub-cache/hosted/pub.dartlang.org/share-0.5.0/ios/Classes/SharePlugin.m:5:
/Users/luca/.pub-cache/hosted/pub.dartlang.org/share-0.5.0/ios/Classes/SharePlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /Users/luca/.pub-cache/hosted/pub.dartlang.org/path_provider-0.4.0/ios/Classes/PathProviderPlugin.m:5:
/Users/luca/.pub-cache/hosted/pub.dartlang.org/path_provider-0.4.0/ios/Classes/PathProviderPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone 6s.
Exited (sigterm)
the flutter doctor is:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.4.6-pre.27, on Mac OS X 10.13.4 17E202, locale it-IT)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3.1)
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.23.1)
[✓] Connected devices (1 available)
• No issues found!
Metadata
Metadata
Assignees
Labels
packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.