HelloPhotogrammatery errors

I tried the HelloPhotogrammetry sample app and ended up with the following errors.

  1. 'SampleOverlap' is not a member type of struct 'HelloPhotogrammetry.Configuration' (aka 'PhotogrammetrySession.Configuration')

  2. Type 'HelloPhotogrammetry' does not conform to protocol 'Decodable'

  3. 'SampleOverlap' is not a member type of struct 'RealityFoundation.PhotogrammetrySession.Configuration

  4. Value of type 'PhotogrammetrySession' has no member 'output'

  5. Value of type 'PhotogrammetrySession.Configuration' has no member 'sampleOverlap'

  6. Command EmitSwiftModule failed with a nonzero exit code

I am new to Xcode and have no experience with swift. Can anyone point me in the right direction?

Mac OS version: Monterey 12.3

Xcode version: 13.3 (13E113)