It look like the simulator can not decrypt the model.
I found a solution by adding "encrypt" flag only on release build.
First add user-defined setting in Build Settings
And then edit the per file compile flags and set them to $(ML_MODEL_ENCRYPT)
https://stackoverflow.com/questions/78956706/per-file-compile-flags-in-xcode-but-only-for-release-builds
Topic:
Machine Learning & AI
SubTopic:
Core ML
Tags: