Looks like the "corners" property of AVMetadataMachineReadableCodeObject is somehow missing using Xcode 12.
It is still mentioned in the documentation but the compiler fails with
"Value of type 'AVMetadataMachineReadableCodeObject' has no member 'corners'".
I am importing AVFoundation