cordova-plugin-googlemaps: Module GoogleMapsBase not Found

When building Cordova for iOS using this plugin I get this error /Plugins/com.googlemaps.ios/GoogleMaps.framework/Headers/GMSCoordinateBounds+GoogleMaps.h:13:9: fatal error: module 'GoogleMapsBase' not found

Which causes the Build to fail. Has anyone else found this problem or know a solution?

My config.xml has this: <plugin name="cordova-plugin-googlemaps" spec="git+https://github.com/mapsplugin/cordova-plugin-googlemaps.git"> <variable name="API_KEY_FOR_ANDROID" value="androidkey" /> <variable name="API_KEY_FOR_IOS" value="ioskey" /> <variable name="NSLOCATIONWHENINUSEUSAGEDESCRIPTION" value="Show your location on the map" /> <variable name="NSLOCATIONALWAYSUSAGEDESCRIPTION" value="Trace your location on the map" /> </plugin> The values have my api keys in them.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Thank you for letting me know. I modified symbolic links for cordova. Please reinstall the plugin. You can do

$> cordova plugin rm com.googlemaps.ios --force

$> cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk --nofetch

$ cordova plugin list
com.googlemaps.ios 2.2.0-fixed "Google Maps SDK for iOS" . <----
cordova-plugin-googlemaps 2.0.0-beta2-20170510-1500 "cordova-plugin-googlemaps"
cordova-plugin-whitelist 1.3.2 "Whitelist"