MGLPolyline
no longer exists in the Mapbox Maps SDK for iOS. The current version is 11.12.2
and I can't find an more recent reference to MGLPolyline
than 6.4.1.. It looks like it was dropped in v10
.
You should look at the latest SDK reference and perhaps you are looking for the PolylineAnnotation