Google maps swift ios mapwithframe on GMSMapView error -


i using google maps ios sdk(using swift) , after running program multiple times decided exit xcode resume working on project later. after re-opening xcode , trying relaunch project error:

terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[nsmanagedobject tilecoords]: unrecognized selector sent instance 0x7c037e90'.

it saying there no mapwithframe method on gmsmapview object, although copied sample code directly off of google maps sdk website.

could receive bit more guidance on handling issue? here image of call stack image , line of code blowing on.

let camera = gmscameraposition.camerawithlatitude(37.5784623,longitude:-77.42166750000001, zoom: 4) 

blows here ---->

mapview = gmsmapview.mapwithframe(cgrectzero, camera: camera)  

enter image description here

try initializing map view frame , in view appear set camera follow:

mapview = gmsmapview(frame: cgrectzero) // on view appear mapview.camera = gmscameraposition.camerawithlatitude(37.5784623,longitude:-77.42166750000001, zoom: 4) 

Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -