I found a way to consistently reproduce this.
First, the culprit is a set of files in the Cache folder for your simulator. Go to your Application Support folder for the iPhone Simulator:
~/Library/Application Support/iPhone Simulator/[6.0 and above]/Library
Then look inside of your Caches/GeoServices/Resources
You'll see some .styleproto
files in there. These files are only created when MapKit is first used in a simulator. It may also happen on the device, but I haven't confirmed it.
If you want to test this, make sure you have the .styleproto
files, then re-launch your app, and you won't see the warning again when accessing the maps.
Remove the GeoServices
cache folder, quit and restart the simulator (and your app), and there is the warning!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…