How to fix
- Open the header file by XCode.
- Change from
Project
toPublic
ofTarget Membership
at right column.
👇
You need to do this for all file if there are multiple header files.
Environment
- Flutter 0.1.5
- Dart 2.0.0-dev.28.0
- iPhone X - 11.2
Error message
/Users/rkowase/StudioProjects/stopwatch/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'firebase_admob/FirebaseAdMobPlugin.h' file not found
import <firebase_admob/FirebaseAdMobPlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Memo
If you add the Firebase Plugin, you need to add GoogleService-Info.plist
by XCode as written in Add Firebase to your iOS Project | Firebase .
Links
FirebaseAdMobPlugin.h file not found when using firebase_admob Plugin for Flutter - Stack Overflow
https://stackoverflow.com/questions/49473823/firebaseadmobplugin-h-file-not-found-when-using-firebase-admob-plugin-for-flutte
objective c - Swift compiler error: "non-modular header inside framework module" - Stack Overflow
https://stackoverflow.com/questions/24103169/swift-compiler-error-non-modular-header-inside-framework-module/24317456#24317456
"Made Podfiles use symlinks to local pods" not working · Issue #15099 · flutter/flutter
https://github.com/flutter/flutter/issues/15099
PathProvider not found on iOS build - Google Groups
https://groups.google.com/forum/#!msg/flutter-dev/7QRk1RphLDE/5rLS4CciBwAJ
Firebase for Flutter
https://codelabs.developers.google.com/codelabs/flutter-firebase/#4
Add Firebase to your iOS Project | Firebase
https://firebase.google.com/docs/ios/setup
Top comments (0)