Failed to parse font key token
is displayed at console.
It doesn't particularly cause crashes, UI bugs, etc., but it is a concern.
This is occurred when I zoom on SwiftUI Map.
Part of code
struct MapView: View {
var body: some View {
Map(coordinateRegion: $viewModel.region,
showsUserLocation: true,
annotationItems: viewModel.pins,
annotationContent: { item in
MapAnnotation(coordinate: item.coordinate, anchorPoint: CGPoint(x: 0.5, y: 0.5), content: {
pinButton(pin: item)
})
})
.ignoresSafeArea()
}
}
My project is here.