No such module 'GoogleMaps' found however it is installed

maz picture maz · Jun 4, 2016 · Viewed 14.2k times · Source

I have installed the 'GoogleMaps' pod using cocoa pods and the project was building correctly, however when I transferred my project to another device through iCloud (the projects directory is in iCloud) the GoogleMaps pod stopped working. I attempted to simply run pod install again however this mad no difference, the pod is clearly there and the pod install was successful. I am beyond confused.

enter image description here

Answer

Cody Moorhouse picture Cody Moorhouse · Aug 5, 2016

For me to fix mine, I had to update my GoogleMaps pod.

  1. To check: pod outdated
  2. To update: pod update GoogleMaps
  3. To clean cache: pod cache clean --all (or you can specify GoogleMaps)
  4. To install: pod install