No such module 'GoogleMaps' found however it is installed
It works for me:
Delete folder Pods in your project folder.
Delete file podfile.look and pods.xcodeproject (not delete podfile)
Close X-Code and install pods in your terminal (
pod install
)Open X-Code, clean the project and run.
This worked for me:
- Close the Xcode.
- Remove all pods from project (
pod deintegrate
) - Clean Pods cache (
pod cache clean --all
) - Install all pods again (
pod install
)
For me to fix mine, I had to update my GoogleMaps pod.
- To check:
pod outdated
- To update:
pod update GoogleMaps
- To clean cache:
pod cache clean --all
(or you can specify GoogleMaps) - To install:
pod install
First off try to clean the project by
Command + Shift + Options + K
If I'm not mistaken, GoogleMaps framework is built from Objective-C so if there's still a problem then do the following steps:
- Create a bridging header file which you can trigger and setup automatically by creating a dummy Objective-C class in your Swift project. Xcode will then ask you if you would want to create a bridging header, click yes. Delete the dummy class you created after.
Configure the header search path to point the Pods with recursion
Do a clean-build.