Cannot find 'PhotogrammetrySession' in scope

Hello, I am trying to get the object capture command line example program working, but I am running into a weird error. "Cannot find 'PhotogrammetrySession' in scope." I am running xcode 13, and I am on MacOS 12.0 Beta (21A5522h). From what I have seen online this error only occurs when attempting to use object capture on an older version of MacOS. I am probably over looking something obvious, but I would appreciate any help.

The object capture command line program example: (https://developer.apple.com/documentation/realitykit/creating_a_photogrammetry_command-line_app)

I am running xcode 13, and I am on MacOS 12.0 Beta (21A5522h).

If you are using the released version of Xcode 13, it does not contain macOS SDK 12, which is needed to build the object capture command line program example.

https://developer.apple.com/download/release/

Xcode 13

Xcode 13 includes everything you need to create and submit apps to the App Store for all Apple platforms. It Includes the SDKs for iOS 15, iPadOS 15, watchOS 8, tvOS 15, and macOS Big Sur. To continue developing apps for macOS Monterey, use Xcode 13 beta 5.

If you want to try it now, you need to get Xcode 13 beta 5. Or else, you may need to wait till the new version of Xcode 13, that contains macOS SDK 12, will be released.

Cannot find 'PhotogrammetrySession' in scope
 
 
Q