xcode 7.2 version I have installed googlemaps through pods.Still getting this error.
Terminating app due to uncaught exception 'GMSServicesException', reason: 'Google Maps SDK for iOS must be initialized via [GMSServices provideAPIKey:...] prior to use'
Iam using locationManager as a global variable.
But when I use
var locationManager = CLLocationManager()
var vwMap = GMSMapView()
within function it shows no error.