flutter_geocoder
flutter_geocoder copied to clipboard
xCode fails to import geocoder when trying to build onto physical device.
Hi!
When I build my app on a virtual device, it works fine, but when I try to build it through xCode I get this error:
`#if __has_include(<geocoder/GeocoderPlugin.h>) #import <geocoder/GeocoderPlugin.h> #else @import geocoder; #endif #if __has_include(<google_maps_flutter/FLTGoogleMapsPlugin.h>) #import <google_maps_flutter/FLTGoogleMapsPlugin.h> #else @import google_maps_flutter; #endif @implementation GeneratedPluginRegistrant
- (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry { [GeocoderPlugin registerWithRegistrar:[registry registrarForPlugin:@"GeocoderPlugin"]]; [FLTGoogleMapsPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTGoogleMapsPlugin"]]; } @end`