1 year ago
#299984
Mohammad Jawed Ahmad
Flutter iOS project not running in xcode but working on android studio and giving module not found error
GeneratedPluginRegistrant.m
As you can see in the GeneratedPluginRegistrant.m file I am trying to import my plugins and many time I tried to fix it using these command:
main: flutter clean
main: flutter pub get
ios: pod deintegrate
ios: pod install
ios: pod install clear cache --all
in XCODE Clean pod build folder but not yet get any solution.
When I fix on plugin issue (If i am removing then it's showing me another plugin issue but it is same as first. If I removed plugins from my pubspec.yaml file then it's also showing this issue. How can I solve this issue? Please suggest anyone.
// Generated file. Do not edit.
// clang-format off
#import "GeneratedPluginRegistrant.h"
#if __has_include(<cloud_firestore/FLTFirebaseFirestorePlugin.h>)
#import <cloud_firestore/FLTFirebaseFirestorePlugin.h>
#else
@import cloud_firestore; Error is here -> Module 'cloud_firestore' not found
#endif
#if __has_include(<connectivity/FLTConnectivityPlugin.h>)
#import <connectivity/FLTConnectivityPlugin.h>
#else
@import connectivity;
#endif
#if __has_include(<contact_picker/ContactPickerPlugin.h>)
#import <contact_picker/ContactPickerPlugin.h>
#else
@import contact_picker;
#endif
#if __has_include(<device_info/FLTDeviceInfoPlugin.h>)
#import <device_info/FLTDeviceInfoPlugin.h>
#else
@import device_info;
#endif
#if __has_include(<file_picker/FilePickerPlugin.h>)
#import <file_picker/FilePickerPlugin.h>
#else
@import file_picker;
#endif
#if __has_include(<firebase_auth/FLTFirebaseAuthPlugin.h>)
#import <firebase_auth/FLTFirebaseAuthPlugin.h>
#else
@import firebase_auth;
#endif
#if __has_include(<firebase_messaging/FLTFirebaseMessagingPlugin.h>)
#import <firebase_messaging/FLTFirebaseMessagingPlugin.h>
#else
@import firebase_messaging;
#endif
#if __has_include(<firebase_remote_config/FirebaseRemoteConfigPlugin.h>)
#import <firebase_remote_config/FirebaseRemoteConfigPlugin.h>
#else
@import firebase_remote_config;
#endif
#if __has_include(<flutter_downloader/FlutterDownloaderPlugin.h>)
#import <flutter_downloader/FlutterDownloaderPlugin.h>
#else
@import flutter_downloader;
#endif
xcode
flutter
xcode7
flutter-ios
flutter-ios-build
0 Answers
Your Answer