Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Strange error when map is removed from view in app

Error: I get this error each time I view a map on my app:

2019-12-27 08:24:48.777792-0500 [6608:1641158] [VKDefault] TextureAtlasPage: Atlas page destroyed with outstanding references.: Assertion with expression - _textureRefs == 0 : Failed in file - /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit/VectorKit-1606.32.10.8.3/src/TextureAtlas.cpp line - 604

Does anyone know what this means? I've searched Google and can't find an answer?

Platform: Xcode 11.3

like image 398
Greg Avatar asked Dec 27 '19 13:12

Greg


1 Answers

I got the same warning too. Obviously it is an internal MKMapView issue.

Moreover, this happens only if map type is set to "Standard". So, to avoid this warning I am changing map type to "Satellite" just before closing the map view:

[self.mapView setMapType: MKMapTypeSatellite];
like image 108
Kibernetik Avatar answered Nov 10 '22 05:11

Kibernetik