Type 'PhotogrammetrySession' has no member 'isSupported'

I am trying the new Photogrammetry command line sample code provided by Apple from this link and ended with the error Type 'PhotogrammetrySession' has no member 'isSupported'

The documentation given here included with the member boolean.

Specs are below: macOS Monterey 12.5 Macbook pro 2021 M1 Max Memory 32 GB Xcode Version 13.4.1 (13F100)

Any help would be appreciated !

Hello,

For isSupproted you'd need macOS 13.0+.

Please refer to the requirement here in the documentation.

I just upgraded to MacOS 13 Ventura. The same error occurs.

Is there anyone who got it working?

My machine is M1 Macbook Air, xcode version 14 and os version 13

it seems RealityKit and RealityFoundation is not updated to latest ones when I upgrade my OS to 13. I found most recent RealityKit and RealityFoundation framework folders are in xcode.app directory in "OtherFrameworks" folder. I tried replacing the original with those above, but no matter what I do, I couldn't delete the original RealityKit.framework and RealityFoundation.framework located in /System/Library/Frameworks Even in root user I couldn't delete them. Any ideas?

Type 'PhotogrammetrySession' has no member 'isSupported'
 
 
Q