How to specify what language auto generated classes are in for core ml model

It appears that the language the project is created in is the language the auto generated classes for a model are generated in. Have tested the same model in an objective-c project and a swift project and they auto generated the respective classes for the language the project was made in. Looking for a way to change what language the auto generated classes are. For example an objective-c project generates swift classes for the model.

Accepted Reply

There is. Go to your project settings → Build Settings and search for "CoreML Model Class Generation Language".

Replies

There is. Go to your project settings → Build Settings and search for "CoreML Model Class Generation Language".

Make sure to switch tab from "Basic" to "All" in upper left hand corner.

if I want use command line to auto generated model classes, how to send the command? thank you