'Google Map GMSMapView crashes on animateToLocation
GMSMapView is crashing on the mapView.animate(toLocation: location) with the error of
-[UIView animateToLocation:]: unrecognized selector sent to instance 0x7fe013babd70
Also setting mapView.delegate crashes the app with error
[UIView setDelegate:]: unrecognized selector sent to instance 0x7f9eb6b4ff80
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView setDelegate:]: unrecognized selector sent to instance 0x7f9eb6b4ff80'
I have also added -ObjC in Project's Other Linker Flags both in debug and release.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
