Cannot find type 'PhotogrammetrySession' in scope

I'm on Mac OS 12 (Monterey) and Xcode 13 but it still get the error "Cannot find type 'PhotogrammetrySession' in scope"

I tried restarting Xcode, tried restarting the Mac. But I still get the error. I have imported "RealityKit".

I'm trying to run the HelloPhotogrammetry code provided by Apple.

Hi, please make sure you are running on the most recent macOS 12 and Xcode 13 builds. Also, try redownloading the sample project here, I believe some changes were made to address the bug you are referencing. If that does not resolve your issue, please file a bug report on Feedback Assistant.

Cannot find type 'PhotogrammetrySession' in scope
 
 
Q