I just upgraded to Xcode 10.0 which seemingly broke the CoreML autogenerated network class code. When building the project, I receive the error:
reg_net.m:94:50: No visible @interface for 'reg_netInput' declares the selector 'initWith0:'
Inside the class, the autogenerated reg_netInput
initializer has the form initWith_0
but in the body of the prediction function, the code calls initWith0
. I've tried to change the initializer names to be consistent but whenever I build, the code seemingly autogenerates again and reverts to the conflicting names.
I've also tried deleting and re-importing the .mlmodel files without success. Any ideas on how to fix this?
from Autogenerated CoreML class uses conflicting initializers
Can you solve it?
ReplyDelete