"corners" property of AVMetadataMachineReadableCodeObject missing in XCode 12 beta 6

Looks like the "corners" property of AVMetadataMachineReadableCodeObject is somehow missing using Xcode 12 beta 6.

It is still mentioned in the documentation but the compiler fails with "Value of type 'AVMetadataMachineReadableCodeObject' has no member 'corners'".

Is there something I'm missing here or should I file a bug report for this?


It seems, that the missing properties only occur when building to a simulator.
When building to a device, there's no problem. (availableVideoPixelFormatTypes was our problem as well).

Steven Kramer already mentioned the non-simulator SDK (not sure what that exactly means), but in case anybody missed it: be sure to build on a device.
Hopefully this will be corrected in the next Xcode release.
It looks like this is finally fixed in Xcode 12.2 beta 2 (12B5025f). It's not mentioned in the release notes, but I was just able to build for the simulator with no errors.
Resolved in Xcode 12.1
"corners" property of AVMetadataMachineReadableCodeObject missing in XCode 12 beta 6
 
 
Q