Issues with VNDetectHumanBodyPose3DRequest iOS 17/Xcode 15

I seem to be having some trouble running the example app from the WWDC 2023 session on 3D Body Pose Detection (this one).

I'm getting an issue about the request revision being incompatible, I tried searching the API documentation for any configuration that has been changed or introduced but to no avail. I also couldn't find much online for it. Is this a known issue? Or am I doing something wrong?

Error in question:

Unable to perform the request: Error Domain=com.apple.Vision Code=16 "VNDetectHumanBodyPose3DRequest does not support VNDetectHumanBodyPose3DRequestRevision1" UserInfo={NSLocalizedDescription=VNDetectHumanBodyPose3DRequest does not support VNDetectHumanBodyPose3DRequestRevision1}.

Code Snippet:

guard let assetURL = fileURL else {
                return
            }
            let request = VNDetectHumanBodyPose3DRequest()
            self.fileURL = assetURL
            let requestHandler = VNImageRequestHandler(url: assetURL)
            do {
                try requestHandler.perform([request])
                if let returnedObservation = request.results?.first {
                    Task { @MainActor in
                        self.humanObservation = returnedObservation
                    }
                }
            } catch {
                print("Unable to perform the request: \(error).")
            }

Thank you for any and all advice!

Accepted Answer

What device was this running on? This request is not supported on simulator, and requires a device with a neural engine (but may work on some Intel Mac devices)

Issues with VNDetectHumanBodyPose3DRequest iOS 17/Xcode 15
 
 
Q