Photogrammetry on non-lidar devices that support iOS 17

I've saved a bunch of images on an iPhone XS without using the ObjectCapture API since it's not supported.

Then I tried to use the PhotogrammetrySession but it fails with

Error The operation couldn’t be completed. (CoreOC.PhotogrammetrySession.Error error 3.)
CorePG: Initialization error = sessionError(reason: "CPGSessionCreate failed!")
Internal photogrammetry session init failed for checkpointDirectory = 

Any idea why this would be the case? I managed to use my iPhone 14 Pro to successfully create a USDZ file with the on-device Photogrammetry using only images and no lidar. But it seems that it's not working for iPhone XS.

Are there restrictions on Photogrammetry Session? I know it's iPhone 12 Pro and up for ObjectCapture, but what about photogrammetry on iOS 17? Thanks!

I'm not sure myself, but I recommend that you query https://developer.apple.com/documentation/realitykit/photogrammetrysession/issupported on your device. If it's true, then I'd expect it to be supported, if not, well that answers your question :)

Photogrammetry on non-lidar devices that support iOS 17
 
 
Q