swift - iOS, Error when initializing GMSPlacesClient - unrecognized selector sent to instance -
i trying integrate google maps api's autocomplete feature on app.
i trying instantiate gmsplacesclient
on viewcontroller's viewdidload override, according documentation here. https://developers.google.com/places/ios-api/start
var placesclient: gmsplacesclient? override func viewdidload() { placesclient = gmsplacesclient() super.viewdidload() }
gmsservices
has been instantiated on appdelegate
using key.
but i'm getting following error during instantiation.
2015-10-02 22:04:59.734 food2eat[93509:13849667] -[nsthread gtm_performblock:]: unrecognized selector sent instance 0x7ffc03f04f80 2015-10-02 22:04:59.766 food2eat[93509:13849667] *** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[nsthread gtm_performblock:]: unrecognized selector sent instance 0x7ffc03f04f80'
what doing wrong?
faced same problem. error started after changed gms api key.
Comments
Post a Comment