Not imported Metal but getting these errors!

Device : iPhone 13 Pro, iOS 17 Beta 5. Xcode : Both 14.3.1 and 15 Beta 5

My app is crashing for no reason after a touch gesture on my device, but it's working fine on a simulator.

I have used GameKit but not imported Metal or SpriteKit.

I'm getting these errors.

CleverJacks[791:45451] Metal API Validation Enabled
-[MTLDebugRenderCommandEncoder setRenderPipelineState:]:1615: failed assertion `Set Render Pipeline State Validation
For color attachment 2, the render pipeline's pixelFormat (MTLPixelFormatRGBA16Float) does not match the framebuffer's pixelFormat (MTLPixelFormatR16Float).
the pipelineState's per sample imageBlock usage(14) is greater than the encoder's perSample imageBlock usage(8)

I am also getting these same errors while not importing Metal. I have the exact same configuration as the OP.

Not imported Metal but getting these errors!
 
 
Q