小编t.i*_*ios的帖子

iOS16.1 Mapkit [VKDefault] 超出金属缓冲区阈值 50000

因此对于我们的地图,我们使用 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

知道如何手动清除金属缓存吗?

mapkit ios swift metal ios16

3
推荐指数
1
解决办法
1113
查看次数

标签 统计

ios ×1

ios16 ×1

mapkit ×1

metal ×1

swift ×1