Xcode 8: base MKMapView triggers warnings

In an Xcode 8 Swift 3 project, I have a ViewController that contains only MKMapView. Whenever I go to this ViewController, I get the following warning listing ...

MyProject[2141:497518] [LogMessageLogging] 6.1 <private>
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
ERROR /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit/VectorKit-1228.30.7.17.9/GeoGL/GeoGL/GLCoreContext.cpp 1763: InfoLog SolidRibbonShader:
ERROR /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit/VectorKit-1228.30.7.17.9/GeoGL/GeoGL/GLCoreContext.cpp 1764: WARNING: Output of vertex shader 'v_gradient' not read by fragment shader


Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)

I do not know why this is happening and how to solve it. It’s just a ViewController with a map, nothing more, so I don’t understand why these problems occur.

+4
source share
3 answers

. , MKMapType Zooming , .. Standard Hybrid MKMapType , . , MKMapType Standard Satellite, , . , .

0

, "[self.manager requestAlwaysAuthorization]"; CLLocationManager;

0
          let locManager = CLLocationManager()

/ , . 100 , , locManager .

         locationManager.requestAlwaysAuthorization()

  • locManager - , , .

  • . , , .

, . , .

, , , , - ( , iphone). , (Sprint ..), . , , , , . , .

0
source

Source: https://habr.com/ru/post/1655700/


All Articles