<GoogleMaps/GoogleMaps.h> file not found Google Maps SDK for iOS

Finally I have found the solution for my problem:

1 Extract the subfolder A in version and I renamed it to GoogleMaps.framework

2 Copy this folder to your project folder.

enter image description here

3 Add it to your Frameworks group in the project

enter image description here

4 Import to AppDelegate as #import "GoogleMaps/GoogleMaps.h"

I will edit with images for people that have the same trouble.

Thanks for all the people that helped me.


Make sure you unzip the SDK with something which understands symbolic links.

GoogleMaps.framework/Headers is a symbolic link to GoogleMaps.framework/Versions/A/Headers.

When I unzip it on my Mac the symbolic link is set up correctly. But when I unzip it on my PC instead of symbolic links I get text files which just contain the path (eg Versions/Current/Headers).

If you unzip on a PC and then copy the folder to your Mac (or unzip using some other method which doesn't create symbolic links), then you will get the error you see.


Try this:

Drag the GoogleMaps.framework bundle to the Frameworks group of your project. When prompted, select Copy items into destination group's folder.

You have to copy the unzipped folder "GoogleMaps.framework" into XCode.

Then follow steps 3 & 4

3.Right-click GoogleMaps.framework in your project, and select Show In Finder.

4.Drag the GoogleMaps.bundle from the Resources folder to your project. We suggest putting it in the Frameworks group. When prompted, ensure Copy items into destination group's folder is not selected.

If still not working try adding manually GoogleMaps.framework in the Build Phases tab->Link Binary with Libraries