No such GoogleMaps module was found, but it is installed

I installed the GoogleMaps module using cocoa pods, and the project was built correctly, however, when I transferred my project to another device via iCloud (the project directory is in iCloud), the GoogleMaps module stops working. I tried just running pod install again, but this is a crazy difference, the box is clear there, and the pod installation was successful. I am out of confusion.

enter image description here

+9
source share
4 answers

First try to clean the project

Command + Shift + Options + K

If I'm not mistaken, the GoogleMaps structure is built from Objective-C, so if there is still a problem, follow these steps:

  • Create a bridge header file that you can run and configure automatically by creating an Objective-C layout in your Swift project. Then Xcode will ask you if you want to create a bridge title, click Yes. Delete the stub class you created after.
  • Configure header search path to specify Pods with recursion enter image description here

  • Make a clean assembly.

+7
source

My fix for me, I had to update my GoogleMaps module.

  • To check: pod outdated
  • To update: pod update GoogleMaps
  • Clear cache: pod cache clean --all (or you can specify GoogleMaps)
  • To install: pod install
+8
source

It works for me:

  1. Delete the Pods folder in your project folder.

  2. Delete podfile.look and pods.xcodeproject (do not delete podfile)

  3. Close X-Code and install pods in your terminal ( pod install )

  4. Open X-Code, clear the project and run.

0
source

This worked for me:

  1. Close Xcode.
  2. Delete all pod deintegrate from the project ( pod deintegrate )
  3. Clear pod cache clean --all (clear pod cache clean --all )
  4. Install all the modules again ( pod install )
0
source

All Articles