Object Capture is not available on this computer

Hi, I try to run HelloPhotogrammetry sample project, but it says "Object Capture is not available on this computer". I'm currently using 2019 iMac with Intel Core i9, Radeon Pro 580X 8GB, 32GB of RAM, running on Ventura 13.3 and Xcode 14.3.

Here is the console output: 2023-04-14 13:48:51.918906+0800 HelloPhotogrammetry[1283:24706] Metal API Validation Enabled 2023-04-14 13:48:51.932709+0800 HelloPhotogrammetry[1283:24706] [HelloPhotogrammetry] Program terminated early because the hardware doesn't support Object Capture. Object Capture is not available on this computer. Program ended with exit code: 1

Do I really need a new mac to run this? or is there some setting I need to change?

Object Capture is not available on this computer
 
 
Q