flutter_tts icon indicating copy to clipboard operation
flutter_tts copied to clipboard

Problem iOS 'flutter_tts/flutter_tts-Swift.h' file not found

Open michele-russo opened this issue 2 years ago • 2 comments

🐛 Bug Report

When run pod install have error inside FlutterTtsPlugin.m:

fatal error: 'flutter_tts/flutter_tts-Swift.h' file not found #import <flutter_tts/flutter_tts-Swift.h>

I have fixed bug by editing import inside FlutterTtsPlugin.m: #if __has_include(<flutter_tts/flutter_tts-Swift.h>) #import <flutter_tts/flutter_tts-Swift.h> #else #import "flutter_tts-Swift.h" #endif

Expected behavior

Reproduction steps

Configuration

Version: 3.3.3

Platform:

  • [X] :iphone: iOS

michele-russo avatar Mar 17 '22 15:03 michele-russo

me too :((

Leanhdung2881999 avatar Feb 12 '23 09:02 Leanhdung2881999

@Leanhdung2881999 do you still get this error after you run flutter clean?

dlutton avatar Feb 12 '23 22:02 dlutton