-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
- speech_to_text
does not specify a Swift version and none of the targets (Runner
) integrating it have the SWIFT_VERSION
attribute set.
#88
Comments
Same problem here |
Looks like you're possibly using a very old Flutter version (1.0.0). Assuming that's true I'd suggest that you update Flutter and try again. |
Flutter 1.17.1 • channel stable • https://github.com/flutter/flutter.git
Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Error output from CocoaPods:
Error running pod install |
I think what's happening is that your project supports Objective-C but not Swift. Was the project created a while ago? Newer versions of Flutter use Swift by default so new projects work properly without tweaks. Can you see if any of these help resolve the issue and if they do let me know which helped? #45 |
@sowens-csd are you right. Thank you so much. |
I am experiencing the same error in Android Studio when launching lib/main.dart on iPhone SE (2nd generation) in debug mode. I used the Example code from the 'speech_to_text' package. How did you resolve the error? I checked #45 but I may have missed some parts. I am relatively new to Flutter and Dart. |
Because, when a creating project you didn't provide a swift suport. tick the cheak box button of swift suport when your are creating in your flutter project. |
I couldn’t find where to turn on Swift Compiler - Language. Instead, I just created a new project using the Terminal App.
Just wanted to add it as a comment and hope I helps someone like myself that is just starting out. Good luck! |
When I try to run a project in iso simulator given this error. How can I overcome it?
Resolving dependencies of
Podfile
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
Error running pod install
Error launching application on iPhone SE (2nd generation).
The text was updated successfully, but these errors were encountered: