最近,我在Xcode日志中经常收到与函数getLocationForBundleID
有关的CoreMotion框架的奇怪警告:
[Client] {"msg":"#NullIsland Either the latitude or longitude was exactly 0! That's highly unlikely", "latIsZero":0, "lonIsZero":0}
[Client] {"msg":"#NullIsland Received a latitude or longitude from getLocationForBundleID that was exactly zero", "latIsZero":0, "lonIsZero":0, "location":'28 5B E0 D7 EB 7F 00 00'}
我没有发现应用程序存在任何故障。所以也许可以忽略这些日志,但它们无论如何都很烦人。
我的问题是:
如何纠正潜在的错误?
如何停止这些警告?