Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple Maps, Raster Overlays Above Labels - Failed to decode

Tags:

ios

ios11

After migrating to the new iOS 11. We are seeing this new error. Not only we are facing the error but the whole UI is sluggish.

This is a native iOS app written in obj-c. We are not seeing the error in ios 10.2 or earlier. Any ideas?

like image 549
Pradeep Mahdevu Avatar asked Sep 20 '17 22:09

Pradeep Mahdevu


1 Answers

It's a known bug that shouldn't pop up. It's on Apple's side, not yours. It's still not fixed as of 11.1, although word is getting out that it might be fixed as of 11.2. Simply ignore it.

Also, you may get an error like this if you are working with annotations on maps:

"MKAnnotationView layer is not of expected type: MKLayer"

Ignore this as well for the same reasons as stated above. If you want to, click here and see this guy's recommendation for silencing these errors if they are bothering you.

I just tried what the guy up there recommended, and it works at silencing the warning so you won't see it (be careful though, it will also silence other warnings that could be important if they come up).

Steps that need to be done:

1) Click on "Product", scroll down to "Scheme", and click "Edit Scheme".
2) Click "Run" on the menu on the left.
3) Press the + button in the "Environment Variables" section and type in "OS_ACTIVITY_MODE" under name.
4) Type in "disable" under value.
5) Press the "Close" button and you are done.

like image 141
Rolf Cosmo Anthony Avatar answered Sep 28 '22 08:09

Rolf Cosmo Anthony