I have this constaints for map view
But I have this error
If I replace map view with UIView, everything is OK
Update
To reproduce you need to set settings of view controller like this:
OK got it solved at my end. Change the MKMapView's frame x:0 y:0 Width:375 Height:554 and than see is it still there or not.
See the setting. It is as same as you have
Note: Sorry Don't know How to add images in answer.