I upgraded Xcode to 14.0 and my test device iOS to 16.0 then I start to get message below in console for one of my SwiftUI project.
It looks like following code making it. Every time this part called we are getting the message.
let imageRequestHandler = VNImageRequestHandler(cvPixelBuffer: cmBuffer, orientation: CGImagePropertyOrientation(rawValue: 6)!, options: requestOptions)
do {
try imageRequestHandler.perform(self.requests)
} catch {
print(error)
}
[1235:196713] [espresso] [Espresso::handle_ex_plan] exception=Inconsistent phase of espresso_plan: 0 status=-5 message in console.
I could not find why I am getting and how to avoid.
2
Answers
I’m getting the same message, and on similar code too. Xcode 14, iOS 16. Looks like some things got
inconsistent
Most likely you just using wrong value for
recognitionLevel
parameter. Make sure it’s.fast
for real time handling.