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
Great app and very nice code, thanks so much for sharing ❤️
Grabbing the latest code from the repository and trying to run it from development branch, I am seeing three errors when I do flutter run -d [deviceID] where deviceID is the iOS simulator I run with open -a Simulator. It is a iPhone X with iOS 11.3. My environment is macOS High Sierra 10.13.4, Xcode 9.3 ((E145). Here is the output from flutter run -
Launching lib/main.dart on iPhone X in debug mode...
Running Xcode clean... 1.0s
Starting Xcode build...
Xcode build done 1.6s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET path_provider OF PROJECT Pods WITH CONFIGURATION Debug ===
In file included from /Users/indrajit.chakrabarty/Work/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.0/ios/Classes/UrlLauncherPlugin.m:7:
/Users/indrajit.chakrabarty/Work/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.0/ios/Classes/UrlLauncherPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /Users/indrajit.chakrabarty/Work/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.m:5:
/Users/indrajit.chakrabarty/Work/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /Users/indrajit.chakrabarty/Work/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-0.4.0/ios/Classes/PathProviderPlugin.m:5:
/Users/indrajit.chakrabarty/Work/flutter/.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 X.
flutter doctor prints the following -
➜ inKino git:(development) ✗ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.2.8, on Mac OS X 10.13.4 17E199, locale en-AU)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.22.1)
[✓] Connected devices (2 available)
• No issues found!
➜ inKino git:(development) ✗
My environment has Cocoapods version 1.5.0 installed.
Anyone have any suggestions for me try, please?
Thanks!
The text was updated successfully, but these errors were encountered:
I did a bit of digging around after opening the issue. It seems flutter beta has issues with Cocoapods version 1.5.0 (version I have installed). I had to follow flutter/flutter#16036 and implement a workaround with the following steps -
Deleted ios/Podfile.lock and ios/Pods.
Switched flutter channel to master (flutter channel master)
Great app and very nice code, thanks so much for sharing ❤️
Grabbing the latest code from the repository and trying to run it from
development
branch, I am seeing three errors when I doflutter run -d [deviceID]
wheredeviceID
is the iOS simulator I run withopen -a Simulator
. It is a iPhone X with iOS 11.3. My environment is macOS High Sierra 10.13.4, Xcode 9.3 ((E145). Here is the output fromflutter run
-flutter doctor
prints the following -My environment has Cocoapods version
1.5.0
installed.Anyone have any suggestions for me try, please?
Thanks!
The text was updated successfully, but these errors were encountered: