I have create new mapViewController.swift file and its xib file also. In mapViewController i have import googlemaps and googleplace
I have create a new uiview and define its class as GMSMapView.
I have also add IBOutlet like this -> @IBOutlet weak var showMapView: GMSMapView!
This is my view in which i have add uiview define its class GMSMapView
And i use this code to show google map
let camera = GMSCameraPosition.camera(withLatitude: 53.9,longitude: 27.5667, zoom: 6)
let mapView = GMSMapView.map(withFrame: showMapView.frame, camera: camera)
showMapView = mapView
Check i have attach screen shot of my code with breakpoint and i step over by one
This is next screen shot when i step over by one but when i again step over step then my app will crash and error as i mention below:
and i have add break point on
GMSCAmeraPosition
then i increase breakpoint line by line when i cross GMSMapView.map
then i app will crash
and got error in my console is libc++abi.dylib: terminating with uncaught exception of type NSException