0

I have been getting this error for a while. I am trying to run my project on IOS for the first time in a while, notting that i have implemented the whole project on android and its working fine. I have tried several Options like deleting Podfile, run flutter clean and even updating the packages. Unfortunately, nothing works.

Xcode's output:

<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/rate_my_app-umbrella.h"
        ^
/Users/mac/AndroidStudioProjects/fit_2go copy/ios/Pods/Target Support Files/rate_my_app/rate_my_app-umbrella.h:13:9: note: in file included from
/Users/mac/AndroidStudioProjects/fit_2go copy/ios/Pods/Target Support Files/rate_my_app/rate_my_app-umbrella.h:13:
#import "RateMyAppPlugin.h"
        ^
/Users/mac/Downloads/flutter 2/.pub-cache/hosted/pub.dartlang.org/rate_my_app-1.1.1/ios/Classes/RateMyAppPlugin.h:1:9: error: 'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
        ^
<unknown>:0: error: could not build Objective-C module 'rate_my_app'
In file included from /Users/mac/Downloads/flutter 2/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.7/ios/Classes/FLTSharedPreferencesPlugin.m:5:
/Users/mac/Downloads/flutter 2/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.7/ios/Classes/FLTSharedPreferencesPlugin.h:5:9: fatal error:
'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
        ^~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /Users/mac/Downloads/flutter 2/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.4/ios/Classes/FLTPathProviderPlugin.m:5:
/Users/mac/Downloads/flutter 2/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.4/ios/Classes/FLTPathProviderPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not
found
#import <Flutter/Flutter.h>
        ^~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
MaartenDev
  • 5,093
  • 5
  • 20
  • 31
Saeed
  • 47
  • 1
  • 8

0 Answers0