Reputation: 49
Terminating app due to uncaught exception 'GMSServicesException', reason: 'Google Maps SDK for iOS must be initialized via [GMSServices provideAPIKey:...] prior to use'
Upvotes: 3
Views: 8681
Reputation: 169
import google map as written below
import GoogleMaps
get Api key by create app using following link https://console.developers.google.com/
write below code in didFinishLaunchingWithOptions
method of AppDelegate
GMSServices.provideAPIKey("your App Id")
that's it
Upvotes: 12