Xcode 10.3 started generating errors in all my projects containing VNCoreMLModel()
class in lines like this:
let visionModel = try? VNCoreMLModel(for: ObjectDetector().model)
Here's how this error looks like:
"Use of unresolved identifier 'ObjectDetector"
6 months ago (in Xcode 10) all my apps worked fine and there were no errors.
How can I fix it?
Also, when I create new iOS app in Xcode 10.3 I can't use Vision framework.
P.S. But for macOS apps and Playground projects I'm able to use Vision framework.