Hi Community!
Been working on an AR app and all of the sudden, features stopped working I get this message (repeatedly)
ArcGIS Runtime Error Occurred. Set a breakpoint on C++ exceptions to see the original callstack and context for this error: Error Domain=com.esri.arcgis.runtime.error Code=2 "Invalid argument." UserInfo={NSLocalizedFailureReason=location data source is not started yet., NSLocalizedDescription=Invalid argument., Additional Message=location data source is not started yet.}
along with this message
[tcp] tcp_input [C5.1:3] flags=[R.] seq=1349585430, ack=4156404933, win=501 state=CLOSED rcv_nxt=1349585406, snd_una=4156404932
I have looked at the custom CLLocation CLLocationManager and CLLocationManagerDelegate just in case this had something to do with it, but I can't see a connection.
I have checked my plist for location privileges and they're okay.
When a scene is switched, ArcGisARView(arView) stops tracking, a new AGSScene is instantiated, elevation source added, then I set the location data source with ```arView.locationDataSource = AGSCLLocationDataSource()```, then set the translation factor to 1. Then I reset tracking, and then start it.
Thanks so much for all the help!