*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Have you sent -setElevation:forState: to <GMSx_MDCFloatingButton: 0x7f7b68565a00; baseClass = UIButton; frame = (-66 -66; 56 56); alpha = 0; hidden = YES; opaque = NO; autoresize = LM+TM; userInteractionEnabled = NO; backgroundColor = UIExtendedGrayColorSpace 1 1; layer = <GMSx_MDCShapedShadowLayer: 0x6000032a9d80>> off the main thread? To verify, look for a complaint in the logs: "Unsupported use of UIKit…", and fix the problem if you find it. If your use is main-thread only please file a radar on UIKit, and attach this log. exercisedImplementations = {
"setElevation:forState:" = (
);
}'
Environment details
GMTCMapView init cause crash. OS - 16.4 iOS Simulator, using UIKit SDK Version - 1.0.6, 2.2.0
Initialize like that and cause crash.
Stacktrace