【发布时间】:2022-12-11 02:18:54
【问题描述】:
所以对于我们的地图,我们使用 MapKit。我们在地图上方使用 MKPolygons 覆盖一个图层。此功能自 iOS15 以来一直有效,但自 16.1 以来,我们收到以下错误并且应用程序冻结(不崩溃)。
-
[VKDefault] Exceeded Metal Buffer threshold of 50000 with a count of 50892 resources, pruning resources now (Time since last prune:6.497636): Assertion with expression - false : Failed in file - /Library/Caches/com.apple.xbs/Sources/VectorKit/src/MDMapEngine.mm line - 1363 -
Metal API Validation Enabled [PipelineLibrary] Mapping the pipeline data cache failed, errno 22
另一个有趣的日志如下
-
[IconManager] No config pack found for key SPR London Landmarks
知道如何手动清除金属缓存吗?
【问题讨论】:
-
似乎存在或不存在多边形的问题。其他人在我发表的评论下方发布并发现了同样的问题,没有多边形stackoverflow.com/a/74316787/2472466
标签: ios swift mapkit metal ios16