flutter_geocoder icon indicating copy to clipboard operation
flutter_geocoder copied to clipboard

xCode fails to import geocoder when trying to build onto physical device.

Open moofintheexplorer opened this issue 4 years ago • 0 comments

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`

moofintheexplorer avatar Dec 29 '19 09:12 moofintheexplorer