Madhav
Madhav

Reputation: 49

GMSServicesException', reason: 'Google Maps SDK for iOS must be initialized via

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

Answers (1)

Priyanka
Priyanka

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

Related Questions