Hello,
i have been working on a iOS swift UI project and want to integrate my own ML Model (generated with create ML) into the app. My create ML Model is a tabular-Regressor Model wich works fine in the create ML Preview. I was following this guide:
https://developer.apple.com/documentation/coreml/integrating_a_core_ml_model_into_your_app
i have tried to integrate the model into the app (Xcode 13.4.1). I load the file into the project navigator. When i try to create the model in the code with
let model = MyModelName()
i get the error:
Cannot find 'MyModelName' in scope
There is also an error message when i try to build:
Command CoreMLModelCodegen failed with a nonzero exit code
Other Models (like the ones downloadable from apple) seem to get recognized.
To me it looks like the automatic code for my model could not be created for some reason.
I would greatly appreciated any ideas.
Thank You