[VKDefault] Style Z is requested for an invisible rect

Dear all,

I am building an iOS app using MapKit with SwiftUI, XCode 12.0 and an iPhone 11 with iOS 14 for development.

Since I updated XCode to 12.0, I began to see the following warning printed repeatedly on the xcode console.

Code Block language
2020-09-23 15:45:16.171240+0900 projectName[835:37406] [VKDefault] Style Z is requested for an invisible rect


This is annoying because it completely floods the console with these messages, "hiding" my own logs.

I could not find any reasonable explanation for this warning on the internet. I could, however, prevent the messages from appearing on the screen by following this response: https://stackoverflow.com/questions/46332856/apple-maps-raster-overlays-above-labels-failed-to-decode

Does anybody have a hint on how to solve this issue without disabling the environmental variable
Code Block
"OS_ACTIVITY_MODE"
?

Kind regards
Seeing this in Xcode 12.4/iOS 14.4. Very annoying 😡🤬
Setting OS_ACTIVITY_MODE = disable seems to do the trick for me as show here https://stackoverflow.com/questions/37800790/hide-strange-unwanted-xcode-logs
Same here. Annoying.

Hi All,

I posted an elegant answer that can help you overcome this problem, please have a look, the solution is simple to implement, please have a look at the link and locate my answer (From: Heider) below:

https://stackoverflow.com/questions/37800790/hide-strange-unwanted-xcode-logs/67835956#67835956

I hope this helps

Good luck, let me know if it resolves your problem.

Cheers Heider

[VKDefault] Style Z is requested for an invisible rect
 
 
Q