Reputation: 89
I'm sorry, I'm newbie in iOS development. I use library from here to get direction of two place in Google Maps. I have ever used Google Maps. After I import Google Maps Framework, I still get error...
This is the problem :
How to import get GoogleMaps header ?
Upvotes: 2
Views: 12309
Reputation: 2218
running pod update and install fixes the issue.
cd ios
pod update
Upvotes: 0
Reputation: 852
This could be an issue of you not copying the frameworks to the project folder, and then after adding the GoogleMaps framework maybe you moved the framework file on your computer to a new location?
Try deleting the framework from your project and then adding the framework again by going to your Project's Build Setting --> Build Phases and dragging the framework into that window.
Also, perform a Project Clean, and make sure that if you have an iOS Simulator running (in any project) to stop it and close it.
Sometimes this causes Xcode to freeze the update process within the coding.
Upvotes: 2
Reputation: 992
Upvotes: 0
Reputation: 119
# import "GoogleMapsM4B/GoogleMaps.h"
It reads first framework name GoogleMapsM4B and the then a class GoogleMaps.h now googlemaps.h consists of all class . then u van access the all class like GMSMapview etc.
Upvotes: -1