I created a Flutter project on the MacBook using Android Studio. The App works correctly on the Android phone and also on the iPhone connected to the Mac but when trying to generate the upload file for Apple it presents the error referenced in the GeneratedPluginRegistrant.m file
//// Generated file. Do not edit.//
#import "GeneratedPluginRegistrant.h"
#if __has_include (<geolocator / GeolocatorPlugin.h>)
#import <geolocator / GeolocatorPlugin.h>
#else
@import geolocator;
#endif
#if __has_include (<google_maps_flutter / FLTGoogleMapsPlugin.h>)
#import <google_maps_flutter / FLTGoogleMapsPlugin.h>
#else
@import google_maps_flutter;
#endif
Error: @import geolocator: Module 'geolocator' not found
I noticed that if you remove the part of the code that contains this call, the error will pass and be displayed on the next import, implying that everyone will have errors.
Could anyone help?

