There are multiple instructions on installing Google Marker Clustering library, e.g: https://developers.google.com/maps/documentation/ios-sdk/utility/setup https://github.com/googlemaps/google-maps-ios-utils/blob/master/Swift.md
But non of them didn't work for me. Also, they have some contradictions. I tried to add pod, tried to add bridging file etc. My "import" doesn't know about anything like clustering
How can I make it work?
I found the way to fix this issue. After adding files as Google provided in it's guide, do this steps:
Import new libraries like so:
#ifndef Bridging_Header_h
#define Bridging_Header_h
#import "GMUMarkerClustering.h"
#import "GMUGeoJSONParser.h"
#import "GMUKMLParser.h"
#import "GMUGeometryRenderer.h"
#endif /* Bridging_Header_h */
Go to project settings.
Done! You have this clustering library in your app.