我创建了一个coreML模型,当我尝试在我的Objective-C项目中使用它时,出现以下错误:Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_MLFeatureValue", referenced from: objc-class-ref in logistic_model_8000.o "_OBJC_CLASS_$_MLModel", referenced from: objc-class-ref in logistic_model_8000.old: symbol(s) not found for architecture x86_64clang: error: linker command failed with exit code 1 (use -v to see invocation)
PS:我不确定我可以添加到该问题的其他详细信息中,这可能有助于回答该问题。如果您需要更多详细信息,请在评论中添加它。
最佳答案
“链接二进制文件与库”
加:
CoreML.framework
关于ios - CoreML模型 undefined symbol 错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/51760685/