解决方法
引自苹果开发论坛:
Xcode has stopped automatically adding the coreml model to the build settings of your project. To solve,go to your target,go to build phases,find compile sources and add your coreml model. After this,the model class is generated.